Re: adding directory permanently to @INC of perl ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guido Leisker wrote:
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.

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/

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux