I'm having a bit of difficulty getting a recent version of Apache
up and running mod_perl. I'm trying to run apache 1.3.14 and mod_perl
1.24_01. Everything finally compiled and installed ok, but when I start
httpd, I get the following error in my error_log:
Apache.pm version 1.26 required!
/usr/local/lib/perl5/site_perl/5.6.0/i586-linux/Apache.pm is version 1.27
Perhaps you forgot to 'make install' or need to uninstall an old version?
This is after upgrading from apache 1.3.6-7 (an rpm), and I forget
the version of the previous mod_perl (dunno if it was an rpm or a
tarball). I did upgrade these in a rather haphazard way - I just wanted to
upgrade from perl 5.005_03 to 5.6, which I did without any problems, then
realized I'd have to (or just want to) upgrade mod_perl, then realized it
about apache, as well. The route I took was something like this:
upgrade perl (a 5.6 rpm)
reinstall perl modules
upgrade mod_perl from rpm
trash the mod_perl rpm and install from a tarball instead
upgrade apache from a tarball, after getting sick of rpms'
install perl 5.6 again, this time from a tarball
re-install my perl modules
reinstall apache 1.3.14
reinstall mod_perl 1.24_01
find the "conflicting version" error from above
uninstall the old apache 1.3.67 rpm, which I had forgotten to do
reinstall apache 1.3.14 and mod_perl 1.24_01 from tarballs
still get that error message
And that's about where I am now, trying to figure out *why* I'm
getting that error message. The Apache.pm file in my perl modules
library, which I think was installed from the mod_perl tarball, *is* 1.27.
*shrug* Why would it complain about needing 1.26 if 1.27 is installed?
The odd part is this snippet of code from the mod_perl.c file in the
mod_perl source tree, starting around line 525:
#define MP_APACHE_VERSION "1.27"
if(!(version = perl_get_sv("Apache::VERSION", FALSE)))
croak("Apache.pm failed to load!"); /*should never happen*/
if(strEQ(SvPV(version,n_a), MP_APACHE_VERSION)) /*no worries*/
fprintf(stderr, "Apache.pm version %s required!\n",
fprintf(stderr, "%s", form("%_ is version %_\n",
*hv_fetch(GvHV(incgv), "Apache.pm", 9,
"Perhaps you forgot to 'make install' or need to uninstall an
Now, it's been a looong time since I've programmed in C (one class
in college way back when), but it seems like that "if(strEQ..." condition
should match, but I guess it doesn't for some reason.
Anyway, if anybody knows how I can get this beast working, I'd
appreciate any hints or advice, either posted or emailed. Thanks in
FMSp3a/MS3a A- C D H+ M+ P+++ R+ T W Z+
Sp++/p# RLCT a+ cl++ d? e++ f h* i+ j p+ sm+