Please pardon my newbie foolishness....

Have a 10.2 Server system and am trying to install the LWP module via CPAN.

This worked fine under a 10.1.5 system on a different machine (once I su'ed to root).

su root

Using:

perl -MCPAN -eshell

to get to CPAN

Then use the default setup for the CPAN configuration (which worked before)..

Then use:

install Bundle::LWP

Appears to download and decompress fine, but when it comes to making / building get a plethora of errors of the type:

Warning: prerequisite HTML::HeadParser failed to load: Can't locate HTML/HeadParser.pm in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at (eval 5) line 3.
Warning: prerequisite MIME::Base64 failed to load: Can't locate MIME/Base64.pm in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at (eval 6) line 3.
Warning: prerequisite Net::FTP failed to load: Can't locate Net/FTP.pm in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at (eval 7) line 3.
Warning: prerequisite URI failed to load: Can't locate URI.pm in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at (eval 8) line 3.

Error: Unable to locate installed Perl libraries or Perl source code.

It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.

(You get this message, because MakeMaker could not find "/System/Library/Perl/darwin/CORE/perl.h")
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Bundle summary: The following items in bundle Bundle::LWP had installation
problems:
MIME::Base64 Digest::MD5 Net::FTP HTML::Tagset HTML::Parser
HTML::HeadParser LWP

--------

Does this mean Perl needs to be re-installed? Or is it merely a configuration problem?

Did also try:

install Bundle:CPAN

and

install Bundle:libnet

These too could download but produced similar errors...

Can anybody help?

Much thanks,
Tom Holland.

Reply via email to