adding directory permanently to @INC of perl ?

Paul Howarth paul at city-fan.org
Wed Jan 18 12:19:40 UTC 2006


Guido Leisker wrote:
>>> Hi,
>>>
>>> after installing otrs on my FC4 server apache cannot be started any 
>>> more.
>>>
>>>
>>> ---------------------------------
>>> # tail /var/log/httpd/error_log
>>> [Wed Jan 18 13:26:27 2006] [error] Use of uninitialized value in list 
>>> assignment at 
>>> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/Apache/Reload.pm 
>>> line 34.\nCompilation failed in require at (eval 83) line 3.\n
>>> [Wed Jan 18 13:26:27 2006] [error] Can't load Perl module 
>>> Apache::Reload for server erwin.guido-leisker.de:0, exiting...
>>> ---------------------------------
>>>
>>>
>>> ---------------------------------
>>> # locate Reload.pm
>>> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/Apache2/Reload.pm 
>>>
>>> ---------------------------------
>>
>>
>>
>> That would appear to be Apache2::Reload (part of mod_perl), not 
>> Apache::Reload
> 
> Yes, so I have to add this to the @INC?

It wouldn't help because it's the wrong module, and it's already on the 
@INC as you'll find if you try to load Apache2::Module.

Does 
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/Apache/Reload.pm 
exist on your system?

Paul.




More information about the fedora-list mailing list