Hi,
Please for give if this is a FAQ, but I didn't see it mentioned in the
recent list archives.
I just upgraded to 5.6, and proceeded to upgrade from mod_perl 1.32_03 to
1.22 (under Apache 1.3.12, using gcc 2.95.1). Everything built fine, but
httpd failed to start. The error message was:
Apache.pm version 1.26 or higher required!
/usr/lib/perl5/site_perl/5.6.0/i686-linux/Apache.pm is only version 1.26
Perhaps you forgot to 'make install' or need to uninstall an old version?
Found: /usr/lib/perl5/site_perl/5.6.0/i686-linux/Apache.pm
Odd, eh? Since when does 1.26 != 1.26? :-) After trying a bunch of stuff,
I realized that the error was coming from mod_perl.c, line 538:
if(SvNV(version) >= MP_APACHE_VERSION) /*no worries*/
return;
After looking up SvNV() to find that it produces a float, I changed line 526
from
#define MP_APACHE_VERSION 1.26
to
float MP_APACHE_VERSION = 1.26;
and now everything is working correctly. What I don't undetrstand is that
the original code was identical in mod_perl 1.21, but I didn't have this
problem. Could this be due to some internal change in Perl 5.6?
-- Dave
---
Dave Seidel
[EMAIL PROTECTED]
www.superluminal.com/dave/