[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl LWP Library problems



On Thu, Aug 05, 2004 at 03:08:31PM -0500, g0esaway_(_at_)_gmail_(_dot_)_com said:
> First my set up.
> I'm running openBSD 3.5 and i'm following the stable branch.
> When i try to run the perl script
> update-nessusrc(http://www.tifaware.com/perl/update-nessusrc/) it
> first told me that i needed
> a couple things from the LWP Library. After some searching I found the
package
> that i needed which was P5-libwww-5.69.tgz after i installed it the
> original error went away
> and i got the error below, sorry for the length. Is this a problem
> with my perl install? or is it a problem with the script. I would
> greatly appreciate any insight into this problem. Thanks
> Chris

you'll find things run much more smoothly if you use the ports tree when
possible, and failing that, use the CPAN module that comes with the perl that
shipped with your OS.

# cd /usr/ports && make search key=p5-libwww
...
Port:	p5-libwww-5.69
Path:	www/p5-libwww
...

failing that,

# perl -MCPAN -e 'install LWP'
# perl -MCPAN -e shell

you didn't say how you installed libwww, or where you installed it from.
Using the CPAN module will help avoid version mismatches and dependency
problems (mostly). Without looking at your setup, it's hard to say for sure
what's wrong, although it looks like update-nessusrc isn't finding something
it's expecting (or there's a typo in the script - have you tried "perl -c
update-nessusrc" ?)

It's more likely to be a problem with the specific thing you're trying to do,
than with your Perl installation as a whole.
--
       Scott Francis | darkuncle(at)darkuncle(dot)net | 0x5537F527
<CaffeineHead> We have enough youth. What we need is a fountain of smart.
-- http://bash.org/?70562

[demime 0.98d removed an attachment of type application/pgp-signature]



Visit your host, monkey.org