in reply to Re^2: cpan: unable to install modules
in thread cpan: unable to install modules
Do you have LWP installed elsewhere on your system, if so, try adding the path to it [LWP] to your PERL5LIB and running the install again.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: cpan: unable to install modules
by 7stud (Deacon) on Nov 10, 2009 at 16:32 UTC | |
The first module I tried to install with cpan while using my system's 5.8.6 perl was LWP::Simple. However, cpan couldn't get past the "make test" step during installation. So someone told me to download and install libww-perl-5.833 by hand, and just skip the 'make test' step and do "make" followed by "make install". After I did that, I was able to use LWP::Simple in my perl programs. Then I tried to install my second module, FileUtils::More, using cpan, and once again cpan couldn't install the module. In response, I decided to upgrade to perl 5.10.1. The location of my new perl 5.10.1 install is shown in my initial post. Anyway, that's why some of the results in my find searches are in a Perl/5.8.6/ directory and some are in a perl5/perl5.10.1/ directory | [reply] [d/l] |
by Bloodnok (Vicar) on Nov 10, 2009 at 17:26 UTC | |
Since neither /Library/Perl/5.8.6 or /System/Library/Perl/5.8.6 are standard locations, I would infer that PERL5LIB isn't being used, as it ought, to do its job - what you need, I'm guessing, is something like:
A user level that continues to overstate my experience :-))
| [reply] [d/l] [select] |
by Khen1950fx (Canon) on Nov 11, 2009 at 19:47 UTC | |
| [reply] |
Re^4: cpan: unable to install modules
by 7stud (Deacon) on Nov 10, 2009 at 23:35 UTC | |
I don't see anything set for an environment variable named PERL5LIB:
Here is some more information:
Can you explain this statement: Since neither /Library/Perl/5.8.6 or /System/Library/Perl/5.8.6 are standard locations, I would infer that PERL5LIB isn't being used, as it ought, to do its job - what you need, I'm guessing, is something like:
Why would I want anything to point to my system's install of perl 5.8.6 when I want to use my own install of perl 5.10.1? Thanks. | [reply] [d/l] [select] |