
hulya.gurer at varianinc
Jul 20, 2005, 12:26 PM
Post #1 of 2
(215 views)
Permalink
|
Hello, My system runs on Solaris 8, perl 5.8.3. I am upgrading the Apache from 2.49 to 2.54 with "./configure --prefix=/usr/local/apache2 --with-mpm=prefork --enable-mods-shared=all --disable-auth_digest" and mod_perl 1.99_13 to mod_perl 2.0.1 with " perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2, and mod_perl" In the beginning, it complained about the previous installation, then I renamed the Apache2 directory and the Apache2.pm, but despite having no errors on the installation, it never created the Apache2.pm. Eventually, when I tried to start the apache with mod_perl, this is what I got on the error_log, [Tue Jul 19 19:53:08 2005] [error] Can't locate Apache2.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/5.8.3/sun4-solaris-thread-multi /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl . /usr/local/apache2) at /usr/local/apache2/perl/startup.pl line 25.\nBEGIN failed--compilation aborted at /usr/local/apache2/perl/startup.pl line 25.\nCompilation failed in require at (eval 2) line 1.\n [Tue Jul 19 19:53:08 2005] [error] Can't load Perl file: /usr/local/apache2/perl/startup.pl for server giant.server.com:0, exiting... [Tue Jul 19 19:55:34 2005] [error] Undefined subroutine &XSLoader::load called at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi/Apache2/APR/XSLoader.pm line 30.\nCompilation failed in require at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi/Apache2/Apache/compat.pm line 49.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi/Apache2/Apache/compat.pm line 49.\nCompilation failed in require at /usr/local/apache2/perl/startup.pl line 31.\nBEGIN failed--compilation aborted at /usr/local/apache2/perl/startup.pl line 31.\nCompilation failed in require at (eval 2) line 1.\n [Tue Jul 19 19:55:34 2005] [error] Can't load Perl file: /usr/local/apache2/perl/startup.pl for server giant.server.com:0, exiting... [Tue Jul 19 19:57:04 2005] [error] Can't locate mod_perl.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/5.8.3/sun4-solaris-thread-multi /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl . /usr/local/apache2) at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi/Apache/compat.pm line 39.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-multi/Apache/compat.pm line 39.\nCompilation failed in require at (eval 3) line 3.\n [Tue Jul 19 19:57:04 2005] [error] Can't load Perl module Apache::compat for server giant.server.com:0, exiting.. Seemed like, all the modules it was looking for were there except Apache2.pm. So, I wonder if there is any other conflicting file somewhere that prevents the installation place some files. I have also read that the PerlHandler directive with some other directives deprecated configuration directives won't be recognized by Apache, how should I take care of the PerlHandler, anything needs to be added on the installation or httpd.conf? Thanks much, Hulya
|