] >Date Index
Re: local cpan configgabi
- Tue Nov 30 19:22:23 2010
if nothing works and you don't want to spend too much time with
troubleshooting i'd suggest you try App::perlbrew. it installed
(including local::lib) smoothly for me and you can furthermore switch
between different perl versions very easily.
if you want to troubleshoot this, i'd suggest to try
strace -e trace=file perl -I .cpan -MCPAN::MyConfig -e ''
my output at the very end is
0xbf8e9f60) = -1 ENOENT (No such file or directory)
open("/dev/null", O_RDONLY|O_LARGEFILE) = 3
stat64(".cpan/CPAN/MyConfig.pmc", 0xbf8e9af0) = -1 ENOENT (No such file
st_size=3274, ...}) = 0
open(".cpan/CPAN/MyConfig.pm", O_RDONLY|O_LARGEFILE) = 4
when the right config file is accessed you could do a
strace -e trace=file cpan Class::OOorNO
and check what happens there.
last but not least it might be a good idea to post your MyConfig.pm
On Tue, 2010-11-30 at 10:27 +0100, Robin Clarke wrote:
> Nope... still same problem...
> ERROR: Can't create '/site/lib/Class'
> (for install Class::OOorNO)
> Best winds,
> On Mon, November 29, 2010 17:30, Richard Foley wrote:
> > Hey Robin,
> > If you're still after the local install of modules via CPAN, these might
> > help:
> > cpan> o conf makepl_arg INSTALL_BASE=$HOME/libs
> > cpan> o conf mbuild_arg --install_base $HOME/libs
> > cpan> o conf commit
> > --
> > Richard Foley
> > Ciao - shorter than aufwiedersehen
> > http://www.rfi.net/
> > On Monday 29 November 2010 16:58:53 Robin Clarke wrote:
> >> On Fri, November 26, 2010 16:01, William Travis Holton wrote:
> >> > Well, first of all, sudo privileges shouldn't be a factor since what I
> >> sent is made to be installed under your $HOME directory under something
> >> like
> >> > ~/local_libraries
> >> Yes - that's exactly what I wanted, and set up.
> >> > What version of CPAN are you using? I don't know that it necessarily
> >> makes a difference, but I'm running 1.942.
> >> 1.9456
> >> > I'm assuming you've also replaced some of the default directories I
> >> sent
> >> earlier with your own architecture stuff.
> >> Of course!
> >> > on my system
> >> > PERLARCH=x86_64-linux-gnu-thread-multi
> >> I have same (thanks for the how-to Gabi!)
> >> > Also see what happens when you do
> >> > perl -I .cpan -MCPAN::MyConfig -e ''
> >> No errors...
> >> On Fri, November 26, 2010 19:44, gabi wrote:
> >> >> ActivePerl
> >> >
> >> > Windows?
> >> Nope. Linux. But no sudo or other root access.
> >> Best winds,
> >> -Robin-
- Re: local cpan config, (continued)
- Message not available
- Ironman: 2,