You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Yue Luo <ec...@yahoo.com> on 2002/09/27 00:19:52 UTC

error compiling mod_perl-1.99_05 with Apache 2.0.42

  Hi, I have installed Apache 2.0.42.  When I run the configuration
script:
perl Makefile.PL MP_AP_PREFIX=$HOME/httpd/prefork  MP_INST_APACHE2=1
  I got error:
Unable to determine server version.

I believe the bug is in /mod_perl-1.99_05/lib/Apache/Build.pm Line 746:
next unless /^\#define\s+AP_SERVER_BASEREVISION\s+\"(.*)\"/;

It expect a line of integers in double quote.  While in this version of
Apache include/ap_release.h, the #define line is:
#define AP_SERVER_BASEREVISION  AP_SERVER_MINORREVISION "." 
AP_SERVER_PATCHLEVEL

Therefore, it won't be able to find the correct version of the server.

Yue
   

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com