From: Boris Z. <bo...@2b...> - 2005-02-02 01:39:09
|
Hi Collin, It looks that you update a application from mod_perl 1 to mod_perl 2. In mod_perl 2, there is no Apache::Constants anymore ;-). Is is renames to Apache::Const. Findout what you are doing there. Mostlikely it is use Apache::Constants qw/REDIRECT DONE OK/; or similar. Replace that line with use Apache::Const qw/REDIRECT DONE OK/; propably thats enough. Am Dienstag, 1. Februar 2005 05:12 schrieb Collin Starkweather: > 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. -- Boris |