Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 73492
Status: resolved
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: carnil [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.000003



From: CARNIL [...] cpan.org
Subject: Only one of PREFIX or INSTALL_BASE can be given. Not both.
Hi This bug has been forwarded from http://bugs.debian.org/586795 Similar problems can be found in [1,2]. [1] http://kerneltrap.org/mailarchive/git/2010/8/12/36701 [2] http://marinp.blogs.uv.es/2009/12/30/perl-locallib-problems-with-some-makefiles-eg-git-manual-installtion/ [3] http://lists.scsys.co.uk/pipermail/catalyst/2008-December/020381.html Would it be possible (if you agree) to document that in the manpage of local::lib as it sets INSTALL_BASE in PERL_MB_OPT and PERL_MM_OPT (e.g. in limitations, as it caused for the reporter problems building git-svn with given Makefile.PL there). Okay on other side one can already read some information in documentation of ExtUtils::MakeMaker and Module::Build. 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 Thanks in advance, Salvatore Bonaccorso, Debian Perl Group
Ideally, ExtUtils::MakeMaker and Module::Build would be fixed to not have these conflicts, but unfortunately that's a significant amount of work. I've added a note to the limitations section about this issue, including a mention of how to work around it. This will be included in the next release.
Resolved in 2.000003