Gossamer Forum
Home : General : Perl Programming :

LWP module installation

Quote Reply
LWP module installation
Hello,

Since VirtualAve.net servers don't have LWP module installed, I have decided to do it my self ...

Ok, I got the latest version (5.43) from http://www.linpro.no/lwp/ .
In the installation instructions, it shows how to install it using telnet. But WirtualAve.net does not allow us to have telnet access to our servers Frown
Is there a wway to install and/or use these modules without telnet? FTP? WWW?

If any one have had such experience, please share Smile Thank you.

Best Regards,

Pasha

------------------
webmaster@find.virtualave.net
http://find.virtualave.net
Quote Reply
Re: LWP module installation In reply to
Well, I wasted so many hours trying to install LWP with no luck so far.
I also found that VirtualAve.net doesn't has these modules installed:
URI.pm
HeadParser.pm
Base64.pm
FTP.pm
MD5.pm

All the good stuff is missing! This is getting really tough Frown


Any one, please help me, don't let me suffer without good Perl.

Pasha

------------------
webmaster@find.virtualave.net
http://find.virtualave.net
Quote Reply
Re: LWP module installation In reply to
You need root access to install those modules. I have tried installing it without root access but to no avail. But when I tried installing it with root access, it was a great success indeed. Perhaps you would like to email virtualave.net and request them to install the modules.
Quote Reply
Re: LWP module installation In reply to
I'm in a similar boat as Pasha, however I don't even know where to start. I known nothing about telnet and my host has said they can't help me... They did tell me I could do it myself.

So is there anyone out there who can babystep me through the process? including the tenet commands to install these modules? I'd be most appreciative....

-Norm
Quote Reply
Re: LWP module installation In reply to
Yep, they told me the same thing Frown
Well, I got my hands on them, and got my self a root access on user level! Don't ask me how Wink

I've tried to download the missing modules from http://www.perl.com and from ftp://ftp.cdrom.com , but all of them appear to be broken. Any one knows where to download them? Thanks!

And again -- If anybody have had such experience, please share, we need your knowedge!

Best regards,

Pasha

------------------
webmaster@find.virtualave.net
http://find.virtualave.net
Quote Reply
Re: LWP module installation In reply to
Pasha,

This is bit of a tangent but have you had any problems running scripts on Virtualave? I've been running the XAV script on Hypermart for years. Since I don't have the space for a decent sized index I got an account at Virtualave. Using Opera I get a page not found error at least 50% of the time, with Explorer its a server error. Its not the script or the setup. Last night I saw a review of Virtualave where someone was complaining they couldn't run large scripts (XAV is 133kb).
Quote Reply
Re: LWP module installation In reply to
By the way Pasha, do you have telnet access? Because all of the modules must be installed from command prompt. I don't think so virtualave lets their users have telnet access, or do they?
Quote Reply
Re: LWP module installation In reply to
As for you Norm, just use this commands one by one,

perl Makefile.PL
make
make test
make install

for each module. After that everything should be fine. Hope this helps.
Quote Reply
Re: LWP module installation In reply to
Sorry guys, I lost the password for my last nick name; so I got Pasha1.
+----------------------------+



Yep, I got a telnet access. Not the real one; it's just a web-based telnet access using perl scrip. VirtualAve doesn't gives us a telnet, so we have to make our own ways around Smile ...and their tech-support really suck.

I have downloaded all the modules, and tried to install them one-by-one as:
Code:
perl Makefile.PL
the output told me that the "test" could not be completed, ... and that the pm files were written.

That's it. I tried to run my perl programs, but LWP still didn't work.

And yes, I tried this too:
Code:
perl Makefile.PL PREFIX=~/z1/find/LWP
/z1/find/LWP is a directory I made inside my home directory (rwxrwxrwx)

The results were the same. No luck.

I did a search for *.pm files (starting from the /root/ directory) :
Code:
find / -name '*.pm' -print
The output was:
Code:
/local/lib/perl5/site_perl/5.005/i386-freebsd/GD.pm
Only one file on server? Odd


Is there a way to use LWP module without installing it? May be include it inside the Perl script? Like in Links 2?


I got a book on UNIX called "UNIX in a Nutshell", trying to learn this OS.

I need some help on this. Big time!


Best regards,

Pasha


[This message has been edited by Pasha1 (edited July 11, 1999).]