Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Locale CPAN distribution.

Report information
The Basics
Id: 48750
Status: resolved
Priority: 0/
Queue: DateTime-Locale

People
Owner: Nobody in particular
Requestors: chaz [...] chaz6.com
Cc:
AdminCc:

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



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
Subject: Re: [rt.cpan.org #48750] Cannot install module per-user
Date: Sun, 16 Aug 2009 10:07:00 -0500 (CDT)
To: Chris Hills via RT <bug-DateTime-Locale [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Sun, 16 Aug 2009, Chris Hills via RT wrote: Show quoted text
> 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
Note that it's using Module::Build, not ExtUtils::MakeMaker, so your makepl_arg is being ignored. Modern versions of CPAN support separate settings for Module::Build using modules, so you can configure that too. I'm going to close this since it's not a bug. Please don't respond to the ticket or it will be re-opened. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/