![]() |
server admins
I recently purchased a script "econfirmpro" after I installed it and set the permissions I get the following syntax when trying to execute the progam by the command line....
[root@38-241 confirm]# ./econfirmpro.cgi Can't locate LWP.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./econfirmpro.cgi line 21. BEGIN failed--compilation aborted at ./econfirmpro.cgi line 21. [root@38-241 confirm]# Now It is to my understanding the wwwlib perl modules where not installed. I spoken with my host several times over the past couple days and they still havent gotten them installed. How complicated is it to install these modules and correct this error? I really havent a clue, but I am thinking of attempting to do it myself |
It's VERY simple....just download the modules untar
tar -xfz file.tar.gz read the INSTALL file you can't go wrong with it.....just give it a go! DynaMite :thumbsup |
Since it appears you have root access to the perl installation, it's a piece of cake. If you do not have root access, you can amend your script to look for the libraries in an alternate location. Example:
#!/usr/bin/perl -wI/usr/home/your/perl |
I really have no idea what I am doing.
[root@38-241]# tar -xfz libwww-perl-5.10.tar.gz tar: z: Cannot open: No such file or directory tar: Error is not recoverable: exiting now [root@38-241]# Thanks anyways guys, I am gonna talk to my host again tommorrow :mad: |
Its even easier to install perl modules with the CPAN shell. Try typing 'cpan' at the command prompt. If that doesn't work, run the following script:
Code:
#!/usr/bin/perl and install any other perl modules that the module you're installing requires. The cpan shell is great for simple installations where everything works the first time. If you need to install library files or if you have problems compiling you're probably better off eschewing the cpan shelling and compiling by hand. |
:thumbsup
I did it I had to install WWW-lib.pm, HTML-paser.pm, HTML-tagset.pm, and MIME-base.pm My server people couldnt do this in two days time? And I figured it out in 2 hours:winkwink: |
All times are GMT -7. The time now is 10:04 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123