![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
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 ![]()
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2002
Posts: 1,504
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
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 eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell use CPAN; shell; 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.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
|
![]() 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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |