SPUG: new CPAN shell and LWP::Simple

Ramon Hildreth ramonred at mac.com
Fri Dec 30 21:37:03 PST 2005


Hi A,

Thanks for the tip. I got further this time I think, but ran into  
trouble here:

---
live/validator.........Can't locate HTML/Tagset.pm in @INC (@INC  
contains: ../blib/lib ../blib/arch /System/Library/Perl/5.8.6/darwin- 
thread-multi-2level /System/Library/Perl/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- 
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6 /Library/ 
Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/ 
Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/ 
5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6/ 
darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/ 
Perl/5.8.1 ../. /System/Library/Perl/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- 
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/ 
Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/ 
5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin- 
thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/ 
5.8.1 .) at /System/Library/Perl/Extras/5.8.6/darwin-thread- 
multi-2level/HTML/TokeParser.pm line 12.
BEGIN failed--compilation aborted at /System/Library/Perl/Extras/ 
5.8.6/darwin-thread-multi-2level/HTML/TokeParser.pm line 12.
Compilation failed in require at ../blib/lib/HTML/Form.pm line 116.
live/validator.........dubious
      Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
      Failed 2/2 tests, 0.00% okay
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ 
-------
html/form-param.t    2   512    24   48 200.00%  1-24
html/form.t          2   512   122  244 200.00%  1-122
live/validator.t     2   512     2    4 200.00%  1-2
Failed 3/41 test scripts, 92.68% okay. 148/827 subtests failed,  
82.10% okay.

---
here I tried to test to see if it worked
---
ramon-hildreths-imac-g5:~/Desktop/libwww-perl-5.805 ramonhildreth$  
perl -MLWP::Simple -e 'print join "\n", head "http://cpan.org/RECENT"'
Can't locate LWP/Simple.pm in @INC (@INC contains: /System/Library/ 
Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / 
Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / 
Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level / 
Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/ 
Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ 
5.8.6 /Library/Perl/5.8.1 .).
BEGIN failed--compilation aborted.

Which directory should I have the libwww files in before I perform  
the perl makefile commands?

thanks again.

On Dec 30, 2005, at 11:14 AM, apv wrote:

> I just upgraded my LWP (on OS X 10.2) via CPAN without incident.
>
> Why don't you bypass it though to see if it's your problem?
>
> Get this and unzip it:
>
>   http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww- 
> perl-5.805.tar.gz
>
> cd into the new dir and then try
>
> perl Makefile.PL && make && make test && sudo make install
>
> Note the "sudo." You should not be running as root so you'll need
> to do that to install stuff.
>
> I recommend NOT installing the GET, HEAD, POST aliases on OS X.
> The case insensitivity of the system causes a clash with another
> core package (which one slips my mind right now).
>
> -Ashley
> (sorry for the double reply, Ramon, I didn't reply-all the first time)
>
> On Friday, December 30, 2005, at 08:01  AM, Ramon Hildreth wrote:
>
>> Hi,
>> I am relatively new to perl - I am attempting to install
>> LWP::Simple.  This is the first time I installed something from CPAN,
>> so first I had to answer some questions. I am not sure if I answered
>> them correctly.
>>
>> when I run 'install LWP::Simple at the CPAN shell, I get a lot of
>> activity, everything seems well until  the end I get this message.
>> This package comes with some sample programs that I can try
>> to install in /usr/bin.
>>
>> ----
>>
>> Checking if your kit is complete...
>> Looks good
>> Writing Makefile for LWP
>>    y  -- NOT OK
>> Running make test
>>    Can't test without successful make
>> Running make install
>>    make had returned bad status, install seems impossible
>>
>> I am running MAC OS X
>>
>> I am wondering if I broke this by answering some questions
>> incorrectly during the CPAN set-up. Any help would be appreciated.
>> Thanks.
>>
>>
>>
>> _____________________________________________________________
>> Seattle Perl Users Group Mailing List
>>      POST TO: spug-list at pm.org
>> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
>>     MEETINGS: 3rd Tuesdays, Location: Amazon.com Pac-Med
>>     WEB PAGE: http://seattleperl.org/
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20051231/4c1910a9/attachment.html


More information about the spug-list mailing list