You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jason <ja...@etherhost.com> on 2000/09/15 18:34:18 UTC

Do I need to reinstall mod_perl?

I'm on a RaQ4 which comes preinstalled with perl 5.005 and mod_perl 1.24

Whever I test a script, I get this error:

[Thu Sep 14 20:46:54 2000] [error] Can't locate Apache/ASP.pm in @INC (@INC
contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
/etc/httpd/ /etc/httpd/lib/perl) at (eval 43) line 3.


My ASP.pm file is located in this directory:

/usr/local/lib/perl5/site_perl/5.6.0/Apache/ASP.pm


Does this mean I have to reinstall mod_perl to recognize that I'm using a
newer version of Perl, or should I just copy the contents of the Apache
folder into something like /usr/lib/perl5/5.00503 ?

Also, would doing this effect my installation of Apache::ASP?

By the way, thanks for pointing me in the direction Stas Beckman's guide.
It's been really helpful as far as understanding terminology and config
info.

Also, if  you remember, I was the idiot who was having problems with my
httpd.conf -- the reason I was having trouble was that some of my config
info is also stored in a file called access.conf -- I guess some systems use
one httpd.conf, while others use more than one..


Thanks!

Jason




Re: Do I need to reinstall mod_perl?

Posted by "Thomas S. Brettin" <ts...@spore.lanl.gov>.
It looks like /usr/local/lib/perl5/site_perl/5.6.0 needs to be in in @INC
If this is your problem, there are several options that might work,

#!/usr/local/perl -I/usr/local/lib/perl5/site_perl/5.6.0

or move the .../site_perl/5.6.0/Apache directory to a directory in @INC.



On Fri, 15 Sep 2000, Jason wrote:

> I'm on a RaQ4 which comes preinstalled with perl 5.005 and mod_perl 1.24
> 
> Whever I test a script, I get this error:
> 
> [Thu Sep 14 20:46:54 2000] [error] Can't locate Apache/ASP.pm in @INC (@INC
> contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
> /etc/httpd/ /etc/httpd/lib/perl) at (eval 43) line 3.
> 
> 
> My ASP.pm file is located in this directory:
> 
> /usr/local/lib/perl5/site_perl/5.6.0/Apache/ASP.pm
> 
> 
> Does this mean I have to reinstall mod_perl to recognize that I'm using a
> newer version of Perl, or should I just copy the contents of the Apache
> folder into something like /usr/lib/perl5/5.00503 ?
> 
> Also, would doing this effect my installation of Apache::ASP?
> 
> By the way, thanks for pointing me in the direction Stas Beckman's guide.
> It's been really helpful as far as understanding terminology and config
> info.
> 
> Also, if  you remember, I was the idiot who was having problems with my
> httpd.conf -- the reason I was having trouble was that some of my config
> info is also stored in a file called access.conf -- I guess some systems use
> one httpd.conf, while others use more than one..
> 
> 
> Thanks!
> 
> Jason
> 
> 
> 
>