http://www.perlmonks.org?node_id=930544


in reply to Re: automating perl installation
in thread automating perl installation

but i want to change defaults at following 4 places
Installation prefix to use?(~name OK)/usr/local /usr
Set Directories to use for library searches ? /usr/local/lib /lib /usr/lib
what libraries to use ? none -lnsl -ldl -lm -lcrypt -lutil -lc
Build a shared libperl.so(y/n)n y

policy.sh is showing only installation prefix.

Replies are listed 'Best First'.
Re^3: automating perl installation
by ikegami (Patriarch) on Oct 26, 2011 at 06:20 UTC

    After running Configure, it says

    If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults.

    Sounds like you can run Configure once and copy Policy.sh around.