Subject: | Cannot install module per-user |
I am unable to install the module per-user. It does not obey the CPAN
variables. MyConfig.pm contains:-
'makepl_arg' => q[SITELIBEXP=/home/chaz/Libraries/lib/perl5
PREFIX=/home/chaz/ INSTALLPRIVLIB=/home/chaz/Libraries/lib/perl5
INSTALLSITELIB=/home/chaz/Libraries/lib/perl5
INSTALLVENDORLIB=/home/chaz/Libraries/lib/perl5
INSTALLARCHLIB=/home/chaz/Libraries/lib/perl5/i386-linux-thread-multi
INSTALLSITEARCH=/home/chaz/Libraries/lib/perl5/i386-linux-thread-multi
INSTALLVENDORARCH=/home/chaz/Libraries/lib/perl5/i386-linux-thread-multi
INSTALLMAN1DIR=/home/chaz/Libraries/usr/share/man/man1
INSTALLSITEMAN1DIR=/home/chaz/Libraries/usr/share/man/man1
INSTALLMAN3DIR=/home/chaz/Libraries/usr/share/man/man3
INSTALLSITEMAN3DIR=/home/chaz/Libraries/usr/share/man/man3],
The installation output shows:-
All tests successful, 3 tests and 1 subtest skipped.
Files=11, Tests=10007, 20 wallclock secs (13.69 cusr + 0.55 csys =
14.24 CPU)
DROLSKY/DateTime-Locale-0.43.tar.gz
./Build test -- OK
Running Build install
Prepending /home/chaz/.cpan/build/DateTime-Locale-0.43-SZWA9B/blib/arch
/home/chaz/.cpan/build/DateTime-Locale-0.43-SZWA9B/blib/lib to PERL5LIB
for 'install'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/lib/perl5/site_perl/5.10.0/DateTime'
mkdir /usr/lib/perl5/site_perl/5.10.0/DateTime: Permission denied at
/home/chaz/Libraries/lib/perl5/ExtUtils/Install.pm line 450
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at /usr/lib/perl5/5.10.0/Module/Build/Base.pm line 2804
DROLSKY/DateTime-Locale-0.43.tar.gz
./Build install -- NOT OK