phildobbin has asked for the wisdom of the Perl Monks concerning the following question:

I'm having very long nights trying to install mod_perl 1.99
against Apache 2.0.47 on OS X.2.8.
The mod_perl mailing list seems to have imploded
so if anybody has managed to get past the following error
on `make test' I'd be grateful to hear about it.
waiting 120 seconds for server to start: .Syntax error on line 2164 of + /Users/phil/Desktop/modperl-2.0/t/conf/httpd.conf: <Perl> directive missing closing '>' ...................................................................... +................................................... waiting 120 seconds for server to start: not ok [ error] giving up after 121 secs. If you think that your system is slow or overloaded try again with a longer timeout value. by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT to a high value (e.g. 420) and repeat the last command. [ error] server failed to start! (t/logs/error_log wasn't created, st +art the server in the debug mode) +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ make: *** [run_tests] Error 1
I've set the env var for the timeout higher and done all the usual stuff
but no luck.
Any help appreciated.

Replies are listed 'Best First'.
Re: mod_perl2 on OS X
by borisz (Canon) on Mar 07, 2005 at 07:15 UTC
    Thats a bug somewhere inside mod_perl's handling of <Perl> sections. Replace <Perl> with <Perl >. Note the space. And replace the closing tag with </Perl>. Your config should look like this:
    <Perl > </Perl>
    Please take care of the spaces in front of the closing tag too.
    Boris
Re: mod_perl2 on OS X
by PodMaster (Abbot) on Mar 07, 2005 at 05:42 UTC
    mod_perl 1.99
    Why not use the very latest, ie mod_perl-2.0.0-RC4?
    Syntax error on line 2164 of /Users/phil/Desktop/modperl-2.0/t/conf/httpd.conf
    /Users/phil/Desktop/modperl-2.0/t/conf/httpd.conf
    <Perl> directive missing closing '>'
    Did you try looking at httpd.conf? See a missing closing '>'? Looks like '<Perl'?

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      I'm actually using mod_perl-2.0_20050305233800 which I
      checked out by svn two days ago.

      The error:

      Syntax error on line 2164 of /Users/phil/Desktop/modperl-2.0/t/conf/ht +tpd.conf
      involves a bug in Apache 2.0.47 where you need to alter
      the line in httpd.conf adding an extra space in a Perl tag.

      Unfortunately, the file can't be edited as it is generated
      during `make test' and any alterations are lost.

      The only workaround I can think of is to ugrade Apache.

        Unfortunately, the file can't be edited as it is generated during `make test' and any alterations are lost.
        I don't think so. It looks like it's generated during perl Makefile.PL, and if you examine httpd.conf .... or just grep the t/conf directory, you'll see that the <Perl > line comes from t/conf/extra.last.conf.in, which is what you can edit.

        The only workaround I can think of is to ugrade Apache.
        Not a bad idea :)

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.