Subject: | LIB override mangled when building v0.30 |
Date: | Wed, 22 Oct 2008 12:22:25 +0100 |
To: | bug-Module-Build [...] rt.cpan.org |
From: | Andrew Benham <andrew.benham [...] thus.net> |
Attempting to build Module::Build v0.30 on Linux x86, Solaris sparc,
and Solaris x86. Our LIB override is mangled.
Firstly, v0.2808 did the right thing:
$ perl Makefile.PL PREFIX=/opt/thus LIB=/opt/thus/share/libperl
# running Build.PL --prefix /opt/thus --install_path lib=/opt/thus/share/libperl
/usr/bin/perl Build.PL --prefix /opt/thus --install_path lib=/opt/thus/share/libperl
...
$ make install DESTDIR=/tmp/builder
/usr/bin/perl Build --makefile_env_macros 1 install
Installing /tmp/builder/opt/thus/share/man/man1/config_data.1
Installing /tmp/builder/opt/thus/share/libperl/Module/Build.pm
Installing /tmp/builder/opt/thus/share/libperl/Module/Build/Config.pm
...
v0.30 is different, rather than using what we specified for 'LIB',
it makes its own directory up:
$ perl Makefile.PL PREFIX=/opt/thus LIB=/opt/thus/share/libperl
# running Build.PL --prefix /opt/thus --config installsitelib=/opt/thus/share/libperl --config installprivlib=/opt/thus/share/libperl --config installarchlib=/opt/thus/share/libperl/i386-linux-thread-multi --config installsitearch=/opt/thus/share/libperl/i386-linux-thread-multi
...
$ make install DESTDIR=/tmp/builder
/usr/bin/perl Build --makefile_env_macros 1 install
Installing /tmp/builder/opt/thus/share/man/man1/config_data.1
Installing /tmp/builder/opt/thus/lib/perl5/site_perl/Module/Build.pm
Installing /tmp/builder/opt/thus/lib/perl5/site_perl/Module/Build/Config.pm
...
--
Andrew Benham Demon@Thus@Cable&Wireless andrew.benham@thus.net
Finchley, London N3 2QQ, U.K. Tel: 020 8495 6343 Fax: 020 8495 6037