Ok, I have tried that, and now I'm a little bit closer. But when I start the
server, i get the message:
../bin/apachectl start: httpd could not be started
No error message and nothing in the logs. If I remove the line "PerlModule
AxKit" from httpd.conf, then it works...
Jonas Nordstrom
> -----Original Message-----
> From: Matt Sergeant [SMTP:[EMAIL PROTECTED]]
> Sent: den 20 juni 2000 14:04
> To: Jonas Nordström
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Problems with AxKit
>
> 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