On Wed, Jan 15, 2003 at 03:07:14PM +0000, Jon wrote:
> 
> I have now uninstalled the RPM, but unfortunately:
> 
> [root@fooTowers mod_perl-1.99_08]# perl Makefile.PL MP_APXS=/usr/sbin/apxs
> Reading Makefile.PL args from @ARGV
>    MP_APXS = /usr/sbin/apxs
> !!! Unable to determine server version, aborting.
> !!! Invalid MP_APXS specified?
> 
> The only filename containing apxs is in the Apache manual.  (I have mod_so 
> compiled in to the httpd.)
> 

You must install the "httpd-devel" package, /usr/sbin/apxs is in this
package.

> I reinstalled the mod_perl-1.99_05-3 RPM thinking that might give me less 
> problems, it looked OK but now:
> 
> [Wed Jan 15 14:37:02 2003] [error] failed to resolve handler 
> `ModPerl::Registry::handler'
> [Wed Jan 15 14:43:12 2003] [error] [client 192.168.1.30] Can't locate 
> ModPerl/Registry/handler.pm in @INC (@INC contains: [snip]
> 
> ... this is using the default conf.d/perl.conf that comes with the RPM (all 
> I changed was the <Directory ...> location to one which used to work):
> 
> LoadModule perl_module modules/mod_perl.so
> # [snip]
> <Directory /home/httpd/html/mp>
>     SetHandler perl-script
>     PerlHandler ModPerl::Registry::handler
>     PerlOptions +ParseHeaders
>     Options +ExecCGI
> </Directory>
> 
> @INC includes /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> and I have: 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/Registry.pm
> 
> .... but this is going into the realms of general Perl questions ...
> 
> I'm wondering what I need to tweak to get the RPM to work, or a working 
> parameter to pass to Makefile.PL
> 

Did you stopped and restarted httpd after installing the package ?

-- 

Reply via email to