
Installation of Perl modules in different directory
Quote:
>I have to install perl on a different machine than I compile it on.
>Now, I can do this for Perl itself (using config.over) BUT when I try and
>do this for modules, I have trouble. I would like to install the modules
>in this local copy of Perl, but a lot of the path names seem to be hardwired
>to the ultimate location of Perl (which is where it isn't yet)
>Now it seems to me that this should be a Solved Problem, but I haven't come
>across a solution yet.
You must have missed this bit when you read perlfaq8:
How do I keep my own module/library directory?
When you build modules, use the PREFIX option when
generating Makefiles:
perl Makefile.PL PREFIX=/u/mydir/perl
[snip]
Mike Guy