[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with install_base



On Sat, Sep 08, 2012 at 03:28:08PM +0200, olivier.sallou@codeless.fr wrote:
> it is in the override of dh build target.
> 
> I just found the "issue".
> After some cpan manipulation some time ago, I see that it modified my
> .bashrc with PERL5LIB etc... env variables:
> 
> export PERL_LOCAL_LIB_ROOT="/home/osallou/perl5";
> export PERL_MB_OPT="--install_base /home/osallou/perl5";
> export PERL_MM_OPT="INSTALL_BASE=/home/osallou/perl5";
> export
> PERL5LIB="/home/osallou/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:/home/osallou/perl5/lib/perl5";
> export PATH="/home/osallou/perl5/bin:$PATH";
> 
> 
> After commenting those, my build worked fine.

I had the same problem (though I noticed it because built packages were
installing stuff in my home, and lintian was complaining). I just added:

  PDEBUILD_PBUILDER="env		\
  	-uPERL_LOCAL_LIB_ROOT		\
  	-uPERL5LIB -uPERL_MB_OPT	\
  	-uPERL_MM_OPT			\
  	pbuilder"

to ~/.pbuilderc since I only use pdebuild (via git-buildpackage). It won't work
if you use e.g. debuild, but you can add an alias or something for that.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature


Reply to: