in reply to Installing a Perl module to an embedded target with different Perl version

I believe you can specify the installation directory specifically through LIB instead of having it derived from PREFIX.

Note that your approach won't work for distros that have machine-specific or version-specific components, such as distros with XS components.

  • Comment on Re: Installing a Perl module to an embedded target with different Perl version

Replies are listed 'Best First'.
Re^2: Installing a Perl module to an embedded target with different Perl version
by wanna_code_perl (Friar) on May 18, 2010 at 15:57 UTC

    Thanks for this. It works.

    Note that I had to specify both LIB and PREFIX to install libraries and scripts from the same package. E.g.:

    perl Makefile.PL LIB=/path/to/root/usr/lib/perl5/5.8.8 PREFIX=/path/to/root/usr/local