View Full Version : LWP module
Benson
03-05-1999, 03:32 PM
The LINKS script (by Gossamer Threads) makes use of a perl module called LWP for link verification. I was wondering if that was available (or might be in the future)..
------------------
ICQ#8418658-alba gu brath!
Benson
03-05-1999, 03:35 PM
dang it- never mind...one day I will do a SEARCH before posting..
Benson
03-05-1999, 03:54 PM
I suspected that the link checking wasn't working properly so I just ran the verification routine at the command line. Here's the message I got:
/big/dom/xkurebeach/cgi-bin/links/admin /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at /big/dom/xkurebeach/cgi-bin/links/admin/Validator.pm line 26.
BEGIN failed--compilation aborted at /big/dom/xkurebeach/cgi-bin/links/admin/Validator.pm line 26.
--
Using IO::Socket method instead.
Does this look like a configuration problem on my side?
Benson
03-05-1999, 11:08 PM
Along this same topic..in case there are any other Links users in here
I've had very disapointing results with the new link checker. I'm going to modify it to go back and use the regular old LWP or IO::Socket.
says Alex. So while I'm not sure what my particular problem is, or even what he's talking aoubt, it may be a moot point.
Hi Benson
I haven't played with Links for a looong time (well, okay, a year), but with the way Alex tweaks on it, it's prolly 100% different by now anyway.
However, the error you spoke of is most likely not a config error on your side. It sounds as if there is a 'use' statement on line 26 (check out line 26, what does it say?). When Perl encounters 'use', it checks an environmental variable which contains assorted paths in which things are available. Apparently Perl is not finding the module, package, sub, whatever anywhere in any of those paths listed. My best guess is Alex is using some different module for that than is commonly found, so it dies. If you can get ahold of one that uses LWP or IO::Socket instead, it will most likely work just fine.
Del
(It's probably some funky module, because Andrew has all the really cool ones installed http://www.aota.net/ubb/smile.gif )
Terra
03-06-1999, 02:21 PM
Thanks Del for the followup on that... http://www.aota.net/ubb/smile.gif
I have found it to be a missing module that Validator.pm requires... (Surprised it didn't show in your above post, because the error message I got asks for it by name)...
I have installed 'LWP::Parallel', for the one you need is 'LWP::Parallel::UserAgent.pm'
I know a lot of work was going on with these modules, good luck with them...
--
Terra
sysAdmin
FutureQuest
auteur
03-06-1999, 06:17 PM
Okay...with this being a busy time for everyone I thought I'd attempt installing this cgi myself today. Then I see this thread and wonder if it is a good idea.
I've just downloaded the Gossamer Links v.2 and saw this before I opened it. Having only successfully installed 1 small cgi before, is this good for me to attempt on my own?
Thoughts? Comments? http://www.aota.net/ubb/smile.gif kind words of incouragement.... http://www.aota.net/ubb/smile.gif
------------------
Elizabeth M. Miller
Getting You the Attention You Deserve!
www.123marketing.com (http://www.123marketing.com)
Benson
03-06-1999, 06:29 PM
I'll be happy to help-check your email.
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.