Issues with LWP

G’day, I am battling with dependencies…

Mandrake 8.1
Apache 1.3.31 with mod_perl statically installed
Perl 5.8.3

So much seems to hang off LWP, I am tempted to force an install on LWP
and hope the other dependancies will install…but I do not know the
consequences of such action…
The error I get is as follows:
live/apache-listing…Use of uninitialized value in pattern match (m//)
at …/blib/lib/File/Listing.pm line 77.
Use of uninitialized value in split at …/blib/lib/File/Listing.pm line 91.
live/apache-listing…FAILED test
5
Failed 1/8 tests, 87.50% okay

Anybody experience the same problem? or even a gut feeling
recommendation? I am not very good with Perl and mod_perl, hence I have
struggled enormously… I guess what I am saying is if I dig myself into
a hole, I usually have no choice but to re-install *nix and start from
scratch, getting tired of that though…

Thank you to anybody who takes the time to contemplate this dilema with
LWP and to those who have helped me previously, it’s because of you I am
still trying after a week to get an RT install working.

Kind regards,

John

So much seems to hang off LWP, I am tempted to force an install on LWP
and hope the other dependancies will install…but I do not know the
consequences of such action…

I don’t know about LWP, but my general experience is that force
installing Perl modules which fail only a few tests is safe to do, I
never had any issues.

Sebastian

Sebastian Flothow
sebastian@flothow.de

Because it reverses the logical flow of conversation.

RT uses one or two features of very featured LWP.
It’s OK while your mailgate/CLI works fine.

I didn’t see that LWP test fails, but I didn’t ever use mandrake.
Best regards. Ruslan.
John wrote:

I also ran into the same problem installing Apache
1.3.31 with mod_perl on Slackware 10. Here’s how I
resolved the issue.

Basically, an array (of eight websites) is used in the
live/apache-listing.t script to test the LWP
installation. The fifth site:
http://gump.covalent.net/jars/?C=N&O=D
is unreachable so the test fails.

To fix things, you’ll have to remove this line from
the array in the live/apache-listing.t script and
manually build LWP (libwww-perl). You can find
apache-listing.t in your CPAN build directory (usually
in ~/.cpan/build or /tmp/.cpan/build). Once you are
in .cpan/build, cd into the libwww-perl-5.XX/t/live
directory and you’ll see the file.

After you make the changes, cd back into the
libwww-perl-5.XX directory and run:

perl Makefile.PL
make
make test
make install

That should do it!

Jay

(p.s. Don’t try to install LWP using CPAN. It will
download a new copy of the module and you will lose
the changes.)

Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

Basically, an array (of eight websites) is used in the
live/apache-listing.t script to test the LWP
installation. The fifth site:
http://gump.covalent.net/jars/?C=N&O=D
is unreachable so the test fails.

The other option is to say “no” when the LWP install asks if you want
to test the remote network sites. No editing required :slight_smile:

Vivek Khera, Ph.D.
+1-301-869-4449 x806