Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: cpan trouble, where to start?

by PerlPeer (Novice)
on Jan 09, 2013 at 09:46 UTC ( #1012413=note: print w/replies, xml ) Need Help??

in reply to Re: cpan trouble, where to start?
in thread cpan trouble, where to start?

Hi, I ran your command, and it started nicely, but than ran in trouble.
The first problem seems to be a path setting:
% Total % Received % Xferd Average Speed Time Time Time + Current Dload Upload Total Spent Left + Speed 100 327k 100 327k 0 0 93034 0 0:00:03 0:00:03 --:--: +-- 175k You are running cpanm from the path where your current perl won't inst +all executables to. Because of that, cpanm --self-upgrade won't upgrade the version of cpa +nm you're running. cpanm path : - Install path : /usr/local/bin It means you either installed cpanm globally with system perl, or use +distro packages such as rpm or apt-get, and you have to use them again to upgrade cpanm. ! ! Can't write to /Library/Perl/5.10.0 and /usr/local/bin: Installing m +odules to /Users/arend/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /Library/P +erl/5.10.0 and /usr/local/bin) ! - Configure local::lib your existing local::lib in this shell to s +et PERL_MM_OPT etc. ! - Install local::lib by running the following commands ! ! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/per +l5/lib/perl5/ -Mlocal::lib) !
After that it detects a shipload of non present dependencies that eventually fail.
Every time is referred to /Users/arend/.cpanm/build.log (not copied here, but if you want it I'll put it in)

I did not do the perl installation on my computer. It was already available when I started using my mac.
But perhaps best to start with fixing the path problem?
The terminal suggests several options. How should I approach the problem?

Replies are listed 'Best First'.
Re^3: cpan trouble, where to start?
by Anonymous Monk on Jan 09, 2013 at 09:49 UTC
    Don't mess with the system perl then, install your own as marto advises

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012413]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-02-20 01:34 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (266 votes). Check out past polls.