On 20041221.1129, Po Petz said ...

> On Tue, 21 Dec 2004, Jim Beard wrote:
> 
> >Only problem is my Perl and Apache config seems a bit boinked.
> 
> Describe the perl and apache.  Are they redhat 9 defaults?  Did you update 
> them with some other rpms?  Rebuilt from srpms?  Built from source?
> 
> >I added the '/usr/lib/perl5/5.8.0/CGI.pm' line myself to the path in a 
> >config file.  Basically it seems like I do have the CGI module, but it's 
> >not getting found.  Does anyone have any idea what might be causing this??
> 
> Wild stab: Maybe you have a couple of different versions of perl running, 
> the perl that the testenv script is runnning has a different libpath than 
> your perl5.8.0.

Good stab, I think.  Check the main page of the Perl script for Twiki.
At the top is usually the line like:
#!/usr/bin/perl

If you then run: perl -v
you'll see what version it is.

You may also have a /usr/local/bin/perl if it was installed from source
and not via your package manager.

I've had this problem in the past where CPAN updated my Perl and put it
in /usr/local/bin but my perl script referenced /usr/bin/perl and I had
some problems not finding the right modules.

-Rob
_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to