On Tue, 20 Jun 2000, Jonas Nordström wrote:
> I have the following config for httpd.conf
>
> PerlModule AxKit
> <Directory /home/jon/public_html/xml>
> SetHandler perl-script
> PerlHandler AxKit
>
> # Setup style type mappings
> AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
> AxAddStyleMap application/x-xpathscript \
> Apache:AxKit::Language::XPathScript
>
> # Optionally setup a default style mapping
> #AxAddDefaultStyleMap /default.xsl text/xsl
>
> # Optionally set a hard coded cache directory
> #AxCacheDir /
> </Directory>
>
> When I start Apache, I get:
>
> Syntax error on line 357 of /home/jon/www/conf/httpd.conf:
> Can't locate loadable object for module Apache::Log in @INC (@INC contains:
> /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0
> /usr/local/lib/perl5/site_perl/5.6.0/i586-linux
> /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .
> /home/jon/www/ /home/jon/www/lib/perl) at
> /usr/local/lib/perl5/site_perl/5.6.0/i586-linux/mod_perl.pm line 14
> Compilation failed in require at
> /usr/local/lib/perl5/site_perl/5.6.0/i586-linux/AxKit.pm line 9.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.6.0/i586-linux/AxKit.pm line 9.
> Compilation failed in require at (eval 3) line 3.
When you compile mod_perl you need to specify EVERYTHING=1 on the "perl
Makefile.PL" command line. Sorry, but you're going to have to re-install
mod_perl.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org