adding directory permanently to @INC of perl ?

Guido Leisker lists.gl at guido-leisker.de
Wed Jan 18 12:51:48 UTC 2006


>>>>>>> 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.
>>>
>>>
>>>
>>> Yes, because id copy
>>> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/Apache2/Reload.pm 
>>>
>>> to
>>> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/Apache/Reload.pm 
>>>
>>> :)
>>>
>>> But it does not work. :(
>>
>>
>>
>> Not surprising, since it's not the same module.
>>
>> Did otrs not come as an RPM package, with a dependency on 
>> perl(Apache::Reload)?
>>
>> Is there not a perl-Apache-Reload package from the same source?
>>
>> If you're desperate you could try installing from source:
>> http://search.cpan.org/dist/Apache-Reload/
> 
> I did install the rpm from otrs.org. There were only rpms for FC1 to 3. 
> May be thats fault.
> I just thought that the old package thougt, that I have a apache 1.
> 
> Now with manual install from http://search.cpan.org/dist/Apache-Reload/ 
> it works.
> 
> So thank you very much.
> 
> I will write to the otrs team, if they please make a package for FC4.
> 
But there comes another questin:
Why does otrs need the Reload.pm for apache 1, when i do have apache2?
Whatever..it seems to work.




More information about the fedora-list mailing list