From: Collin S. <col...@co...> - 2005-02-01 20:29:57
|
I am trying to install Apache::PageKit on Apache2 on a Gentoo box. I seem to be in the home stretch but have hit a stumbling block. I installed mod_perl 1.99.17-r1 and libapreq2 2.04.03 and Apache::PageKit 2.14_12. However, when I try to start Apache2, I get -- # APACHE2_OPTS='-DPERL' /etc/init.d/apache2 start * Apache2 has detected a syntax error in your configuration files: Syntax error on line 73 of /usr/lib/apache2/conf/vhosts/vhosts.conf: Failed to load PageKit::Common (Can't locate Apache/Constants.pm in @INC (@INC contains: /app/apache2/site/www.collinstarkweather.com/pagekit/Model /home/httpd/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5/Apache2 /usr/lib/perl5/site_perl/5.8.5 ... blah blah blah ... /usr/lib/perl5/site_perl/5.8.5/Apache2/Apache/PageKit.pm line 156.\n # -- I feel like I am missing something fundamental. If I try to install Apache::Constants with `perl -MCPAN -e 'install Apache::Constants`, installation of mod_perl-1.29 commences, which is not what I want. Is Apache::Constants supposed to be bundled with mod_perl? Thanks, -Collin P.S. Output of `make test` (summary: All test successful) is below my sig in case it is helpful. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Collin Starkweather, Ph.D. col...@co... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ starky@www Apache-PageKit-2.14_12 $ make test /usr/bin/perl5.8.5 -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl5.8.5 /home/starky/junk/Apache-PageKit-2.14_12/t/TEST -clean --documentroot '/home/starky/junk/Apache-PageKit-2.14_12/eg' Can't locate t/conf/apache_test_config.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5/Apache2 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/apache2) at /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache/TestRun.pm line 771. APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \ /usr/bin/perl5.8.5 -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl5.8.5 /home/starky/junk/Apache-PageKit-2.14_12/t/TEST -bugreport -verbose=0 --documentroot '/home/starky/junk/Apache-PageKit-2.14_12/eg' Can't locate t/conf/apache_test_config.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5/Apache2 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/apache2) at /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache/TestRun.pm line 771. /usr/sbin/apache2 -d /home/starky/junk/Apache-PageKit-2.14_12/t -f /home/starky/junk/Apache-PageKit-2.14_12/t/conf/httpd.conf -D APACHE2 using Apache/2.0.52 (prefork MPM) waiting 60 seconds for server to start: ....... waiting 60 seconds for server to start: ok (waited 5 secs) server localhost:8529 started t/01_dummy....................ok t/02_language.................ok t/03_charset..................ok t/04_anon_cookies.............ok t/05_account..................ok t/06_login....................ok t/07_restricted...............ok t/08_fresh_cookie_redirect....ok t/09_charset_tmpl.............ok t/10_pkit_comment.............ok All tests successful. Files=10, Tests=67, 13 wallclock secs (10.28 cusr + 0.59 csys = 10.87 CPU) [warning] server localhost:8529 shutdown starky@www Apache-PageKit-2.14_12 $ |