well is the "perl" really executing your perl or the one that comes with the system?

# which perl

If you don't have uninstalled the default perl your command will execute the system perl because its located into /usr/bin/perl. Where's your personal built perl installed?

# perl -V
will tell you the include-paths of your perl installation. I think you've messed up something.


Tom

Bheema Rao Merugu, BSC, Ambattur, Chennai wrote:
Hi,


Please find the CGI.pm version installed in my system

# perl -MCGI -e 'print "CGI.pm version $CGI::VERSION\n";'
CGI.pm version 3.01
even though its giving the error I think there is some configuration
issue with apache and mod_perl.

[Thu May 27 18:38:43 2004] [error] Can't locate CGI.pm in @INC (@INC
contains: /usr/local/apache/lib/perl5/5.8.3/aix-thread-multi
/usr/local/apache/lib/perl5/5.8.3
/usr/local/apache/lib/perl5/site_perl/5.8.3/aix-thread-multi
/usr/local/apache/lib/perl5/site_perl/5.8.3
/usr/local/apache/lib/perl5/5.8.3/aix-thread-multi
/usr/local/apache/lib/perl5/5.8.3
/usr/local/apache/lib/perl5/site_perl/5.8.3/aix-thread-multi
/usr/local/apache/lib/perl5/site_perl/5.8.3
/usr/local/apache/lib/perl5/site_perl . /usr/local/apache/
/usr/local/apache/lib/perl) at /export/home/perl/test.pl line 10.
BEGIN failed--compilation aborted at /export/home/perl/test.pl line 10.


Thanks, Bheema.

-----Original Message-----
From: Brian Reichert [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 10:01 PM
To: Bheema Rao Merugu, BSC, Ambattur, Chennai
Cc: [EMAIL PROTECTED]; Stas Bekman
Subject: Re: mod_perl not able to run some pl files.


On Thu, May 27, 2004 at 07:45:49PM +0530, Bheema Rao Merugu, BSC, Ambattur, Chennai wrote:

Hi,


I am getting the below error message in the error_log file. but I had
the CGI.pm in the path /usr/local/apache/lib/perl5/5.8.3


When you say you 'had' CGI.pm in that path, do you mean that you
used that perl installation to make/install the module?

Or did you merely copy it in?  If the latter, make sure that you
have permissions on the file set properly.


Thanks,
Bheema




--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to