Hi,

I've a strange problem I've never encountered before when compiling my
own apache.

I simply run:
  1) in mod_perl-1.28:
     /opt/perl/bin/perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/opt/apache
     make
     make test
     make install
  2) If I know try to start my apache with a startup-file like this:
     ------------------------8<------------------------
     #!/opt/perl/bin/perl
     use Apache::Log;
     ------------------------8<------------------------
     I get this error-message:
     ------------------------8<------------------------
     ../bin/apachectl start
[Wed Jul 30 14:18:43 2003] [error] Can't locate loadable object for module Apache::Log 
in @INC (@INC contains: /opt/perl/lib/5.8.0/i686-linux /opt/perl/lib/5.8.0 
/opt/perl/lib/site_perl/5.8.0/i686-linux /opt/perl/lib/site_perl/5.8.0 
/opt/perl/lib/site_perl . /opt/apache/ /opt/apache/lib/perl) at 
/opt/perl/lib/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
Compilation failed in require at /opt/apache//conf/startup.pl line 3.
BEGIN failed--compilation aborted at /opt/apache//conf/startup.pl line 3.
Compilation failed in require at (eval 2) line 1.
 
Syntax error on line 981 of /opt/apache/conf/httpd.conf:
Can't locate loadable object for module Apache::Log in @INC (@INC contains: 
/opt/perl/lib/5.8.0/i686-linux /opt/perl/lib/5.8.0 
/opt/perl/lib/site_perl/5.8.0/i686-linux /opt/perl/lib/site_perl/5.8.0 
/opt/perl/lib/site_perl . /opt/apache/ /opt/apache/lib/perl) at 
/opt/perl/lib/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
Compilation failed in require at /opt/apache//conf/startup.pl line 3.
BEGIN failed--compilation aborted at /opt/apache//conf/startup.pl line 3.
Compilation failed in require at (eval 2) line 1.
 
../bin/apachectl start: httpd could not be started
     ------------------------8<------------------------

What's going on here? Any ideas.

Tom

Reply via email to