Subject: | "perl Makefile.PL" ignores LIB? |
I install CPAN modules into $HOME via:
perl Makefile.PL LIB=$HOME/local/lib/CPAN INSTALLMAN1DIR=$HOME/local/man/man1 INSTALLMAN3DIR=$HOME/local/man/man3 INSTALLSCRIPT=$HOME/local/lib/CPAN/bin INSTALLDIRS=perl
For some reason Pod::Coverage's Makefile.PL can't handle one or more of these switches; "make install" attempts to install into /usr/local/lib/perl5:
jumbo:~/.cpan/build/Pod-Coverage-0.17$ make install
/usr/local/bin/perl Build --makefile_env_macros 1 install
Warning: You do not have permissions to install into /usr/local/lib/perl5/5.8.3/sun4-solaris at /usr/local/lib/perl5/5.8.3/ExtUtils/Install.pm line 114.
mkdir /usr/local/lib/perl5/5.8.3/sun4-solaris/auto/Pod: Permission denied at /usr/local/lib/perl5/5.8.3/ExtUtils/Install.pm line 176
make: *** [install] Error 255
(Perl 5.8.3 on solaris.)