LWP install

2002-10-30 Thread Tom Holland
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.



Re: LWP install

2002-10-30 Thread Charles Albrecht
At 10:50 AM +0100 10/30/2002, Tom Holland wrote:
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).

(You get this message, because MakeMaker could not find 
/System/Library/Perl/darwin/CORE/perl.h)


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

Have you installed the Development tools on this system?

-Charles
 Euonymic Solutions
 [EMAIL PROTECTED]



Re: LWP install

2002-10-30 Thread Doug McNutt
I had the same problems. The readme talks about other required modules and then those 
talk about others. It's a recursive exercise apparently done for us in the MacPerl 
world. (Thanks Chris)

After a couple of hours I found my way thru CPAN getting one missing module at a time. 
It appears that the warning messages just point out things you can install afterwards 
though. The URI and HeadParser aka the HTML module are pretty much required. Base64 
and FTP seem not to be used for LWP::simple.

At 10:50 +0100 10/30/02, Tom Holland wrote:
Warning: prerequisite HTML::HeadParser failed to load:.
Warning: prerequisite MIME::Base64 failed to load:3.
Warning: prerequisite Net::FTP failed to load:
Warning: prerequisite URI failed to load:


-- 

Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.



Re: LWP install

2002-10-30 Thread Doug McNutt
Actually Chuck sent this to me. This is one of those lists that has a hangup about 
changing the reply to: header so that it defaults to the list.

Someday I'll learn about bundles but as of now it's up to someone else to answer.

And - while were at it? Is there a document somewhere that talks about just where 
modules ought to be installed. I can find no evidence of /site-perl/ on my system and 
there are at least three /Library/ folders buried in the perl zoo. The make-install 
procedures seem to have a mind of their own and I have no idea where things are going.


At 16:38 -0500 10/30/02, Chuck Jacobson wrote:

My understanding (possibly wrong) is that if there is a budle available (i.e. 
Bundle::LWP) that will install any needed prereqs too. Is this correct? I just 
installed Bundle::Slash and it seemed to download all the necessary modules.

BTW, if anyone has Slash going on their system please email me. I have it installed 
and would like some advice on how to set it up. Thanks!
-
Chuck Jacobson, Technical Systems Specialist
North Central Baptist Church, Gainesville, FL
http://www.northcentralbaptist.org/
-


-- 
-- As a citizen of the USA if you see a federal outlay expressed in $billion then 
multiply it by 4 to get your share in dollars. --



Re: LWP install

2002-10-30 Thread Sherm Pendley
On Wednesday, October 30, 2002, at 01:08 PM, Doug McNutt wrote:


The readme talks about other required modules and then those talk about 
others. It's a recursive exercise

Only if you're determined to do it the hard way. If you use the CPAN 
shell, it follows dependencies for you, installing everything that's 
needed. Just enter 'install Bundle::LWP' and you're done.

 It appears that the warning messages just point out things you can 
install afterwards though.

Umm - no. The warning messages that started this thread, specifically 
the one that reads (You get this message, because MakeMaker could not 
find /System/Library/Perl/darwin/CORE/perl.h), point out that the 
developer tools are not installed. If the developer tools were 
installed, prerequisite Perl modules are a non-issue and would have been 
installed automatically.

sherm--

If you listen to a UNIX shell, can you hear the C?