Subject: | CPAN local installation directory ignored |
Date: | Fri, 16 Aug 2013 12:16:11 +1000 |
To: | <bug-Math-Symbolic [...] rt.cpan.org> |
From: | Josh Milthorpe <josh.milthorpe [...] anu.edu.au> |
Hi,
I was unable to install Math::Symbolic to a local directory using CPAN.
I have set a local module install directory using
cpan[1]> o conf makepl_arg INSTALL_BASE=/short/y42/perl
cpan[1] > o conf mbuildpl_arg '--install_base /mydir/perl'
cpan[1] > o conf commit
which works fine for installing other modules. However, the
installation for Math::Symbolic seems to just be ignoring that and
trying to install system-wide. The error is as follows:
cpan[1]> install Math::Symbolic
...
All tests successful.
Files=52, Tests=1129, 222 wallclock secs ( 0.36 usr 0.11 sys + 76.53
cusr 39.77 csys = 116.77 CPU)
Result: PASS
LEONT/Module-Build-0.4007.tar.gz
./Build test -- OK
Running Build install
Prepending ~/.cpan/build/Module-Build-0.4007-OXuPVs/blib/arch
~/.cpan/build/Module-Build-0.4007-OXuPVs/blib/lib to PERL5LIB for 'install'
Building Module-Build
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/apps/perl/5.10.1/bin'
Do not have write permissions on '/apps/perl/5.10.1/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at lib/Module/Build/Base.pm line 3602
LEONT/Module-Build-0.4007.tar.gz
./Build install -- NOT OK
----
You may have to su to root to install the package
(Or you may want to run something like
o conf make_install_make_command 'sudo make'
to raise your permissions.Stopping: 'install' failed for 'Module::Build'.
Failed during this command:
LEONT/Module-Build-0.4007.tar.gz : install NO
$ perl -v
This is perl, v5.10.1 (*) built for x86_64-linux
Could you please look into why the standard CPAN local installation
approach doesn't work here?
Many thanks,
Josh