Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Bundle::LWP Installation Problems

by growlf (Pilgrim)
on Apr 04, 2002 at 06:02 UTC ( [id://156582]=perlquestion: print w/replies, xml ) Need Help??

growlf has asked for the wisdom of the Perl Monks concerning the following question:

Having troubles installing Bundle::LWP  - been trying to do this for several hours now, and failing miserably.

Here is the output where it starts to go wrong (after the command "perl -MCPAN -e 'install Bundle::LWP' "):

...... Running make test [--clipped for brevity--] robot/rules-dbm......ok robot/rules..........ok robot/ua.............HTTP Server terminated robot/ua.............FAILED tests 1-3, 5, 7 Failed 5/7 tests, 28.57% okay local/autoload.......ok local/get............ok local/http...........HTTP Server terminated local/http...........NOK 8Can't call method "is_redirect" on an unde +fined value at local/http.t line 188, <DAEMON> line 1. local/http...........dubious Test returned status 22 (wstat 5632, 0x1600) DIED. FAILED test +s 1-18 Failed 18/18 tests, 0.00% okay local/protosub.......ok Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------- +----------- local/http.t 22 5632 18 18 100.00% 1-18 robot/ua.t 7 5 71.43% 1-3 5 7 Failed 2/23 test scripts, 91.30% okay. 23/302 subtests failed, 92.38 +% okay. *** Error code 9 Stop in /usr/local/lib/cpan/build/libwww-perl-5.64. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Bundle summary: The following items in bundle Bundle::LWP had instal +lation problems: LWP
As you can see, it has made it through the make process all the way up to the tests.  Why is it dying here?  What obvious thing have I overlooked?  I realize that I could "force" the install, but that seems lame, and wrong - besides, I'd rather learn why it is doing this to begin with.  I have used super search and looked at the POD as well, no clues avail themselves to me tired eyes.

Additional system info:

  • Perl V5.61
  • OS FreeBSD 4.4
  • CPAN 1.59_54 (latest version I believe)

Any help is greatly appreciated.



*G*

Replies are listed 'Best First'.
Re: Bundle::LWP Installation Problems
by Zaxo (Archbishop) on Apr 04, 2002 at 06:05 UTC

    Last time I updated LWP, I needed to install a newer libwww. Try checking its version.

    Update: I meant the C libraries from w3c, which LWP wraps. The current version is libwww-5.3.2

    After Compline,
    Zaxo

      Thanks Zaxo.

      Unfortunately, that is where (in LWP's dependancies) it dies (specificly G/GA/GAAS/libwww-perl-5.64.tar.gz) - is there a different one?



      *G*
      Hmm, are you sure? AFAIK LWP doesn't have any dependacies on this C library and LWP doesn't wrap it or any other C library. In fact it is pure Perl module which cannot have direct dependancies on any C library.

      --
      Ilya Martynov (http://martynov.org/)

        You're right, but I distinctly remember the occasion. I wonder what really happened? Heisenbug I guess. The funny thing is I told someone else, and it worked for him, too. I haven't located any system calls in LWP. Mystifying.

        After Compline,
        Zaxo

Re: Bundle::LWP Installation Problems
by mce (Curate) on Apr 04, 2002 at 10:00 UTC
    Hi,

    The libwww test suite starts an HTTP::Daemon process on a random port. Perhaps there is a problem with this on your machine (ie. it cannot launch the command local/http.t daemon in the src/t directory.

    You can always go directly to the source directory (in .cpan) and build manually by typing

    perl Makefile.PL make make test
    after reading all the README files of course :-)

    Just my 0.02$ worth.
    ---------------------------
    Dr. Mark Ceulemans
    Senior Consultant
    IT Masters, Belgium

Re: Bundle::LWP Installation Problems
by rjray (Chaplain) on Apr 04, 2002 at 06:19 UTC

    I've also seen these messages when I did a fresh install of LWP recently after configuring a new machine. I consider them worrysome, but the author is aware of them (I think-- I'm pretty sure I reported them, plus almost everything in CPAN goes through CPANTS anymore, and they always e-mail me when one of my modules burps). I've opted to force installation more out of laziness and lack of enough time to investigate more closely.

    --rjray

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://156582]
Approved by IlyaM
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-18 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found