Chris Croome wrote:
Hi

I'm trying to build apache 1.3.33 and mod_perl 1.29 from source on
Fedora Core 3, this is what I have tried so far:

  tar -zxvf apache_1.3.33.tar.gz
  tar -zxvf mod_perl-1.29.tar.gz
  cd mod_perl-1.29
  perl Makefile.PL APACHE_SRC=../apache_1.3.33 DO_HTTPD=1 PREP_HTTPD=1 
USE_APACI=1 EVERYTHING=1
  make
  cd ../apache_1.3.33
  ./configure --prefix=/usr/local/apache
  cd ../mod_perl-1.29
  make test

And the test generated the following error:

  ../apache_1.3.33/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
  /bin/sh: ../apache_1.3.33/src/httpd: No such file or directory
  httpd listening on port 8529
  will write error_log to: t/logs/error_log
  letting apache warm up...\c
  done

Not sure why Makefile.PL doesn't handle that but DO_HTTPD=1 PREP_HTTPD=1 contradict each other:
http://perl.apache.org/docs/1.0/guide/install.html#DO_HTTPD__NO_HTTPD__PREP_HTTPD


  /usr/bin/perl t/TEST 0
  still waiting for server to warm up...............not ok
  server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
  make: *** [run_tests] Error 111

There is no t/logs/error_log, in fact t/logs/ is totally empty.

I have tried this several times, this is the error I got one time when I
omitted "DO_HTTPD=1 PREP_HTTPD=1" and manually asked for mod_perl to
build apache:

  ../apache_1.3.33/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
  Syntax error on line 3 of /usr/local/src/mod_perl-1.29/t/conf/httpd.conf:
  Invalid command '=pod', perhaps mis-spelled or defined by a module not 
included in the server configuration
  httpd listening on port 8529
  will write error_log to: t/logs/error_log
  letting apache warm up...\c
  done
  /usr/bin/perl t/TEST 0
  still waiting for server to warm up...............not ok
  server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
  make: *** [run_tests] Error 111

that's normal since you didn't load mod_perl (as you did things manually).

Again there are no error logs and also there is pod syntax in the
httpd.conf file, I guess that this should be removed by mod_perl before
passing the config onto apache...

I have build apache and mod_perl on all previous versions of Fedora
without a problem.

Does anyone have any suggestions about what I might be able to do to try
to track down the problem?

Or am I just doing something really daft?

Yup, just drop PREP_HTTPD=1. Please see: http://perl.apache.org/docs/1.0/guide/getwet.html#Building_mod_perl

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to