[rhn-users] RHEL 3 : httpd [error] Can't locate Apache.pm in @INC
Clinton Fernandes
cfernand at utm.utoronto.ca
Thu Jun 2 17:59:08 UTC 2005
I am not aware of any way (I don't even know what "ex" is). httpd and perl are
separate entities and I don't think they mesh in that way.
The only exception I can think of to what I just said is perl_mod. But I have
never used perl_mod so I can't say any more than that.
changing the environment variable will work though. And just blame the sudden
screw-up on the kernel; I always do.
--
my tail is dun.
Quoting FM <dist-list at LEXUM.UMontreal.CA>:
> Thanks for the reply,
> But it worked fine before and I used RH RPM.
>
> Is there a way to set @INC in httpd for ex ?
>
> Clinton Fernandes wrote:
> > Correct me if I'm wrong, but /usr/lib/perl5/5.8.0/CGI/ isn't in your @INC.
> >
> > I would guess that the above path was not technically "legal" OR was in
> > /etc/profile. By this I mean it isn't a default path for Perl. I know what
> > you're going to say: "CPAN installed the module, so how could it not be a
> > default path?" My simple answer: "I dunno."
> >
> > Oftentimes, when the kernel is updated, things that you could get away with
> but
> > shouldn't before the upgrade suddenly break.
> >
> > The easiest work around is this:
> >
> > edit /etc/profile:
> > export PERLLIB=$PERLLIB:/usr/lib/perl5/5.8.0/CGI/
> >
> > Good luck!
> >
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
More information about the rhn-users
mailing list