[Bioperl-l] bioperl-live install issue on unix

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Dec 10 11:06:45 UTC 2008


Sean O'Keeffe wrote:
> Ok so just now i decided to wipe .cpan from my home directory and do a
> fresh install and reload
> 
>> cpan
> cpan> install CPAN
> 
> even this returns the following:
> are my settings  totally off the wall here?
> 
> Running make install
> Prepending /home/okeeffe/.cpan/build/CPAN-1.9301-wnpJfD/blib/arch
> /home/okeeffe/.cpan/build/CPAN-1.9301-wnpJfD/blib/lib to PERL5LIB for
> 'install'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ERROR: Can't create '/usr/local/bin'
> Do not have write permissions on '/usr/local/bin'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I had something similar when setting up a personal cpan recently. In my
case the problem turned out to be the config settings for 'makepl_arg'
and 'mbuildpl_arg'. I hacked them blindly and I don't know whether what
I have now is 'correct' but it appears to work:

  'makepl_arg' => q[LIB=~/perl/lib INSTALLMAN1DIR=~/perl/man/man1
INSTALLMAN3DIR=~/perl/man/man3 INSTALLARCHLIB=~/perl/lib
INSTALLSCRIPT=~/perl/bin INSTALLBIN=~/perl/bin
INSTALLSITEMAN1DIR=~/perl/man/man1 INSTALLSITEMAN3DIR=~/perl/man/man3
INSTALLSITEARCH=~/perl/lib INSTALLSITELIB=~/perl/lib
INSTALLSITEBIN=~/perl/bin],

  'mbuildpl_arg' => q[--lib=~/perl/lib --installman1dir=~/perl/man/man1
--installman3dir=~/perl/man/man3 --installarchlib=~/perl/lib
--installscript=~/perl/bin --installbin=~/perl/bin
--installsiteman1dir=~/perl/man/man1
--installsiteman3dir=~/perl/man/man3 --installsitearch=~/perl/lib
--installsitelib=~/perl/lib --installsitebin=~/perl/bin],

No idea whether it's related to your problem, but you might want to
check that what you have makes sense to you.

Cheers, Dave



More information about the Bioperl-l mailing list