Bug#586795: Only one of PREFIX or INSTALL_BASE can be given. Not both.
Jonathan Nieder
jrnieder at gmail.com
Tue Jun 22 16:36:09 UTC 2010
Package: liblocal-lib-perl
Version: 1.006004-1
Severity: minor
Justification: user error (i.e., documentation bug)
I use local::lib to locally install perl modules that have not yet
been packaged for Debian. Normally it works great, but today I ran
into trouble building git:
$ make git-svn
SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/home/jrn'
Only one of PREFIX or INSTALL_BASE can be given. Not both.
make[1]: *** [perl.mak] Error 255
make: *** [perl/perl.mak] Error 2
I would have expected the PREFIX to take precedence or the
local::lib(3pm) manual page to give some guidance.
Ideas?
Jonathan
$ perl -I$HOME/perl5/lib/perl5 -Mlocal::lib
export MODULEBUILDRC="/home/jrn/perl5/.modulebuildrc"
export PERL_MM_OPT="INSTALL_BASE=/home/jrn/perl5"
export PERL5LIB="/home/jrn/perl5/lib/perl5/i486-linux-gnu-thread-multi:/home/jrn/perl5/lib/perl5:$PERL5LIB"
export PATH="/home/jrn/perl5/bin:$PATH"
$ grep -i perl $HOME/.profile
export MODULEBUILDRC PERL_MM_OPT PERL5LIB
PATH=$HOME/bin:$HOME/perl5/bin:/usr/local/bin:/usr/bin:/bin; # see
/etc/login.defs
MODULEBUILDRC="/home/jrn/perl5/.modulebuildrc"
PERL_MM_OPT="INSTALL_BASE=/home/jrn/perl5"
PERL5LIB="/home/jrn/perl5/lib/perl5/i486-linux-gnu-thread-multi:/home/jrn/perl5/lib/perl5"
$ dpkg -l perl | tail -1
ii perl 5.10.1-13 Larry Wall's Practical Extraction and Report Language
More information about the pkg-perl-maintainers
mailing list