[rhn-users] RHEL 3 : httpd [error] Can't locate Apache.pm in @INC
FM
dist-list at LEXUM.UMontreal.CA
Thu Jun 2 16:59:42 UTC 2005
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!
>
More information about the rhn-users
mailing list