[sf-perl] /usr/local/foo/ for cpan and locally grown modules

Garth Webb garth.webb at gmail.com
Thu Jan 25 09:36:37 PST 2007


On 1/24/07, David Alban <extasia at extasia.org> wrote:
>
> Greetings,
>
> Assume I'm not allowed to modify the perl installation on a set of
> machines.


[snip]

Then today I installed Crypt::PasswdMD5 from cpan.  I ran "perl
> Makefile.PL".  I then edited the resulting make file so that it would
> install in /usr/local/foo rather than the default location.


You should do this instead:

  perl Makefile.PL PREFIX=/usr/local/foo

Garth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20070125/b90e921f/attachment.html 


More information about the SanFrancisco-pm mailing list