See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
[EP-tech] mod_perl @INC problems
From: Simon McLeish <simon.mcleish AT googlemail.com>
Date: Sat, 21 Jun 2008 16:43:17 +0100
| Threading: | • This Message → Re: [EP-tech] mod_perl @INC problems from tdb01r AT ecs.soton.ac.uk → Re: [EP-tech] mod_perl @INC problems from s.mcleish AT lse.ac.uk |
*** ↵ http://www.eprints.org/tech.php/id/%3CEMEW-k5KGhJ663e7ba1065292a722326ab5fef4a4f8-485D2195.3090604%40googlemail.com%3E *** EPrints community wiki - http://wiki.eprints.org/ Hi, I'm attempting to run EPrints 3.10 rc2 under https, on a RH5 machine with apache 2.2.3, perl 5.8.8 and mod_perl 2.0.2. I get this error in the log when I try to access the server: [Sat Jun 21 16:20:38 2008] [error] [client 158.143.8.34] failed to resolve handler `EPrints::Apache::Rewrite': Can't locate Apache2/Utils.pm in AT INC ( AT INC contains: /usr/local/eprints/perl_lib/ /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 5) line 3.\n\t...propagated at /usr/local/eprints/perl_lib//EPrints/Apache/AnApache.pm line 207.\nCompilation failed in require at /usr/local/eprints/perl_lib//EPrints/Apache/Rewrite.pm line 59.\nBEGIN failed--compilation aborted at /usr/local/eprints/perl_lib//EPrints/Apache/Rewrite.pm line 59.\nCompilation failed in require at (eval 2) line 3.\n According to rpm, mod_perl installed the following: % rpm --query --list mod_perl | grep Util /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/APR/Util.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Apache/TestUtil.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Apache2/RequestUtil.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Apache2/ServerUtil.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Apache2/Util.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/MapUtil.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Util.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/APR/Util /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/APR/Util/Util.so /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/RequestUtil /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/RequestUtil/RequestUtil.so /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/ServerUtil /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/ServerUtil/ServerUtil.so /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Util /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Util/Util.so /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/ModPerl/Util /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/ModPerl/Util/Util.so /usr/share/doc/mod_perl-2.0.2/docs/api/APR/Util.pod /usr/share/doc/mod_perl-2.0.2/docs/api/Apache2/RequestUtil.pod /usr/share/doc/mod_perl-2.0.2/docs/api/Apache2/ServerUtil.pod /usr/share/doc/mod_perl-2.0.2/docs/api/Apache2/Util.pod /usr/share/doc/mod_perl-2.0.2/docs/api/ModPerl/Util.pod /usr/share/man/man3/APR::Util.3pm.gz /usr/share/man/man3/Apache2::RequestUtil.3pm.gz /usr/share/man/man3/Apache2::ServerUtil.3pm.gz /usr/share/man/man3/Apache2::Util.3pm.gz /usr/share/man/man3/Apache::TestUtil.3pm.gz /usr/share/man/man3/ModPerl::Util.3pm.gz so the error is reasonable: there is no Apache2/Utils.pm. If I modify EPrints/Apache/AnApache.pm to require Apache2::Util instead of Apache2::Utils, I get [Sat Jun 21 16:34:22 2008] [error] [client 158.143.8.34] failed to resolve handler `EPrints::Apache::Rewrite': Died at /usr/local/eprints/perl_lib//EPrints/Apache/AnApache.pm line 207.\nCompilation failed in require at /usr/local/eprints/perl_lib//EPrints/Apache/Rewrite.pm line 59.\nBEGIN failed--compilation aborted at /usr/local/eprints/perl_lib//EPrints/Apache/Rewrite.pm line 59.\nCompilation failed in require at (eval 2) line 3.\n which suggests that this isn't the solution: any ideas? Cheers, Simon
[index] [prev] [next] [options] [help]




