--On Monday, May 08, 2000 12:15 PM -0500 Steve Bauer <[EMAIL PROTECTED]>
wrote:
> I have apache 1.3.12, and mod_perl 1.23. both apache and mod_perl build
> successfully, but make test fails. the output from "make test" is:
>
> cp t/conf/mod_perl_srm.conf t/conf/srm.conf
> ../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
> httpd listening on port 8529
> will write error_log to: t/logs/error_log
> Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf:
> Invalid command '=pod', perhaps mis-spelled or defined by a module not
> included in the server configuration
> letting apache warm up...done
> /usr/local/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.
> *** Error code 146
> make: Fatal error: Command failed for target `run_tests'
>
>
> The file /t/httpd.conf contain several pod commands.
>
> Anybody have any ideas of where to look or how to fix this??
>
> Steve Bauer
> Cyber Database Solutions.
Steve,
Assuming your problem and the one I posted several weeks ago are the same,
the cause and solution are self-evident -- but only after the fact (perhaps
we should call it post-self-evident, "pse" for short :-)
In my case, I had a fresh Apache and I built mod_perl without building
Apache. That would be a fairly normal thing to do if you want to add
modules besides mod_perl, and it's a correct procedure according to the
documentation. There is a fundamental flaw, however, in both the
documentation and the procedure: If you haven't build Apavhe, there is no
httpd executable in the Apache source tree. Everything tested as
advertised only when I first built mod_perl and installed it in the Apache
source tree, then built Apache with the mod_perl libraries, and then went
back and did the test for mod_perl. All tests passed without a hitch. I
installed Apache, and using the example in the O'Reilly book (can't
remember which critter is on the cover), wrote the obligatory "Hello
World", and was on my way.
-- Rob
_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
Rob Tanner
McMinnville, Oregon
[EMAIL PROTECTED]