Bug#788155: perl-modules: ExtUtils::MakeMaker installs perl modules in the wrong directory
Niko Tyni
ntyni at debian.org
Sat Jun 13 08:22:27 UTC 2015
On Mon, Jun 08, 2015 at 10:03:04PM +0000, Vincent Lefevre wrote:
> Package: perl-modules
> Version: 5.20.2-3+deb8u1
> Severity: important
>
> While there were no problems with Debian up to Debian 7,
> ExtUtils::MakeMaker now installs perl modules in the wrong
> directory. For instance, I build Math-MPFR-3.24 with:
>
> unset PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
> mkdir $HOME/testdir
> perl Makefile.PL PREFIX="$HOME/testdir"
>From ExtUtils::MakeMaker documentation, about "PREFIX":
How the exact location is determined is complicated and depends on how
your Perl was configured. INSTALL_BASE works more like what other build
systems call "prefix" than PREFIX and we recommend you use that instead.
Indeed, setting INSTALL_BASE instead of PREFIX seems to do what you
want (as far as I can tell.)
Hope this helps,
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list