in reply to
Re: cpan trouble, where to start?
in thread cpan trouble, where to start?
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
Dload Upload Total Spent Left
100 327k 100 327k 0 0 93034 0 0:00:03 0:00:03 --:--:
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
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?