Subject: | fakeinstall doesn't honour PERL_MM_OPT/INSTALL_BASE |
Hi there,
It looks like "fakeinstall" doesn't honour the PERL_MM_OPT/INSTALL_BASE
environment variable. Indeed:
<code>
$ echo $PERL_MM_OPT
INSTALL_BASE=/data/home/poleggim/myroot/usr/local/lib/perl5
and "install" does fine what it's meant to:
$ perl Build.PL && build install --verbose
Creating new 'MYMETA.yml' with configuration results
...
Writing
/data/home/poleggim/myroot/usr/local/lib/perl5/lib/perl5/sun4-solaris/auto/GE/Justice/Editique/.packlist
</code>
but "fakeinstall" still looks into the system directories:
<code>
$ perl Build.PL && build fakeinstall --verbose
Creating new 'MYMETA.yml' with configuration results
...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: Can't create
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/GE/Justice/Editique'
Do not have write permissions on
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/GE/Justice/Editique'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Writing
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/GE/Justice/Editique/.packlist
</code>
N.B. I use local::lib to set up a perl sandbox, which results in
PERL_MM_OPT/INSTALL_BASE, PERL5LIB=and PATH being adjusted accordingly.
$ perl -v
This is perl, v5.8.7 built for sun4-solaris
Cheers,
^m'e