LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 11-20-2002, 08:10 AM   #1
raymond
Member
 
Registered: Nov 2002
Location: d
Posts: 63

Rep: Reputation: 15
Need help for running perl/cgi...


I have checked on my Redhat 8.0 box by perl -v and was prompted with the following:

This is perl, v5.8.0 built for i386-linux-thread-multi

Copyright 1987-2002, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

Does the above show I have fully installed the perl modules necessary for running perl/cgi scripts? Sadly, I could run any piece of perl/cgi script and got the following errors reported in the error log:
[Wed Nov 20 05:14:04 2002] [error] 895: ModPerl::Registry: Can't locate cgi-lib.pl in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /home/raymond/cgi-bin/guestex.pl line 20.

Any advice please.
Cheers.
 
Old 11-20-2002, 08:59 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Nope it doesn't mean that you have modules required for CGI to run, it only means that perl is installed, nothing else.
http://www.cpan.org, should you make a bookmark, is the sweet home for perl modules and what's not

Last edited by neo77777; 11-20-2002 at 09:01 AM.
 
Old 11-20-2002, 09:20 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
There is no need to start a whole new thread for you existing problem. Lets keep this going in your first thread you started about this please. Thanks.

You can find the other existing thread here: http://www.linuxquestions.org/questi...threadid=35855

Last edited by trickykid; 11-20-2002 at 09:23 AM.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems in running cgi/perl scripts... raymond Linux - General 17 02-09-2010 05:06 AM
Perl CGI:Can't locate CGI.pm supermyself Programming 13 09-10-2007 07:22 AM
Running perl scripts outside of cgi-bin ylikone Programming 1 09-08-2005 05:34 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 06:07 AM
Running Perl/CGI scripts hso_sof Linux - Newbie 3 08-22-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration