Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

How to install LWP module on linux?

Quote Reply
How to install LWP module on linux?
Hi!

Is it hard to install the LWP module? Where can I find it? Is there any tutorial or stepbystep help?


Thanks!


------------------
Alex Tutusaus
Atyc WebDesigns
http://www.webcamworld.com/
Quote Reply
Re: How to install LWP module on linux? In reply to
First, to install the LWP module you need to have root access to your server. If you do, then yes, the installation is rather easy. Typically, if you haven't yet installed the LWP package, you probably haven't installed many of the other packages that are a prerequisite to intalling LWP, like the URI, HTML, and Digest packages (all can be found online at http://www.perl.com/CPAN/....)

When you download the tar files, put them in a directory or your choosing (I chose to create a "modules" directory under /usr/lib/perl5 - just to keep it consistent). Untar the files, then read the README file. It'll give you step-by-step instructions, which typically look like this:

perl Makefile.PL
make
make test
make install

That easy.

Good luck
Quote Reply
Re: How to install LWP module on linux? In reply to
Hey I got a question about LWP pertaining to my Situation.

I'm hosted by www.virtualave.net and they offer CGI and SendMail Access....but what about LWP?

I setup Links and when I clicked "Verify Links" it would tell me it could not find certain perl modules (i.e. Date.pm,URI.pm) so I found them on the Net, and kept on loading them until the Error messages went away...now I get the following ERROR Message:

Quote:
CGI ERROR
==========================================
Error Message : Fatal error: Can't locate object method "new" via package "LWP::UserAgent" at /home/thisrules/public_html/cgi-bin/links/admin/LWP/UserAgent.pm line 181.

Script Location : nph-verify.cgi
Perl Version : 5.00502

Ok, my questions are:
1. Does this means getting LWP to work is hopeless (?does this mean something like i dont have shell access...*What* is shell access!?! Access to Directories on the server itself?)

2. Or is it an error on my end? I think I have downloaded and installed all the modules it said were missing (albeit in my web directories).

I hope I gave enough info. Thanks in advance.

- gonz



Here are my variables, but I dont know if any of this has to do with my problem, but I'm saving time by posting it anyways:

Quote:
Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /home/thisrules/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CACHE_CONTROL : max-age=259200
HTTP_CONNECTION : keep-alive
HTTP_HOST : www.thisrules.com
HTTP_REFERER : http://www.thisrules.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)
HTTP_VIA : 1.1 www-cache.campbell.army.mil:3128 (Squid/2.2.STABLE4)
HTTP_X_FORWARDED_FOR: 150.152.123.62
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 150.152.101.96
REMOTE_HOST : 150.152.101.96
REMOTE_PORT : 3240
REMOTE_USER : gonzo
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-verify.cgi
SCRIPT_FILENAME : /home/thisrules/public_html/cgi-bin/links/admin/nph-verify.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-verify.cgi
SCRIPT_URI : http://www.thisrules.com/cgi-bin/links/admin/nph-verify.cgi
SCRIPT_URL : /cgi-bin/links/admin/nph-verify.cgi
SERVER_ADMIN : webmaster@virtualave.net
SERVER_NAME : www.thisrules.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.6




[This message has been edited by chmodMYundies (edited October 09, 1999).]