ukagg
Jan 4 2002, 01:23 PM
Hi,
How can I check that, Libwww Module is installed on my Plesk server?
If it is not there, how can I install that?
Thanks
ukagg
joelmoss
Jan 4 2002, 05:15 PM
Install the CPAN module which can install any perl module:
http://www.perl.com/CPAN/modules/by-module/CPAN/
ffeingol
Jan 4 2002, 10:33 PM
Here is some doc from
serverexpert.com on using the cpan module.
Frank
ukagg
Jan 8 2002, 11:00 AM
I installed the cpan. It asked me a lot of questions, but I entered only default.
After installing cpan, I also installed the Bundle::LWP, Bundle:: DBI and MIME::Tools.
But still my perl applications are saying that DBI, LWP and Tools are missing.
However, cpan is saying that they are uptodate.
I could not understand what is going wrong. Please help.
Thanks
ukagg
ffeingol
Jan 8 2002, 11:27 AM
ukagg,
It sounds as if there might be 2 versions of perl installed on your system. From the user that you used to install the modules, type:
which perl
that will give you the path to perl. Then take a look at the first line of one of your perl scripts that is not working. Does the path in that file match the path from the which command?
Frank
HostCrest
Jan 8 2002, 11:50 AM
Perl Diver is a nice little script for checking your Perl configuration.
http://www.scriptsolutions.com/programs/pe...perldiver.shtml
ukagg
Jan 8 2002, 12:34 PM
Yes. I found 2 diffirent installation of perl. I think one is that came pre-installed, and another I installed unknowingly when I was installing CPAN.
Is there any harm in leaving both on the server, or is it better to remove one?
If it adviced to keep only one, then which one should I remove, and how?
Using perldiver.cgi, I found that, second one (which I installed accidently) has more modules installed.
Thanks a lot.
ukagg
ffeingol
Jan 8 2002, 01:07 PM
It won't hurt to have 2 copies. It just takes disk space and could be a little confusing. OTOH, deleting the 2nd copy could be difficult to make sure you get all the pieces.
You should be able to get your script running then by just adjusting the first line of your cgi script to point to the 2nd copy of perl.
Frank
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.