Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 16:36:05 -0500 (EST)
From:      Andy Dills <andy@xecu.net>
To:        Lewis Watson <lists@visionsix.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: FreeBSD 4.9 and perl LWP...
Message-ID:  <Pine.BSF.4.44.0402271633450.34144-100000@thunder.xecu.net>
In-Reply-To: <07aa01c3fd73$ce2e40f0$df0a0a0a@visionsix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Feb 2004, Lewis Watson wrote:

> Hi folks,
> I have a client trying to run a perl script on our web server. FreeBSD 4.9
> w/ Apache 1.3.29/ modphp/ SSL.
>
> They are getting this error in the httpd errorlog ....
>
> Can't locate LWP/Simple.pm in @INC (@INC contains:
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
> /usr/libdata/perl/5.00503)
>
> All I could find by googling is that this perl module is generally
> supposed to be installed by default and there was another post where two
> people were troubleshooting Perl putting modules in wrong places..
>
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&th=c30fb8d16921fc3b&rnum=7
>
> Can someone provide some insight on how to resolve this problem?

I see you solved your problem, but I'll offer you a bit of empowering
wisdom.

Perl doesn't ship with a ton of modules that are commonly used. However,
adding them can be super trivial.

For instance, you could have accomplished this entire task by doing:

perl -MCPAN -e shell

And in the shell:

install LWP

It's similar in concept to /usr/ports, except that it doesn't keep the
metadata on your filesystem.

Good luck,
Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0402271633450.34144-100000>