I'm new to mod_perl, and was having fun tinkering with mod_perl-1.99_05-3 on Red Hat 8 (Perl 5.8.0 / Kernel 2.4.18-17.8.0 on an i686 / Apache/2.0.40), installed from RPM's.

I wanted to get the older Apache:: modules to work, I noted that the ones i wanted came with mod_perl-1.27, and made the (*very* bad) decision of trying to install the old version and getting mod_perl2 to work in 'compatibility mode'. So I tried to install 1.27 from the binary which of course required Apache 1.3, which I had - but not the sources. This resulted in a broken mod_perl installation and me only having some of the modules I required, which of course mostly fail anyway due to dependency issues.

I dont think I can install from mod_perl-1.99_08.tar.gz: I hunted for a value for MP_AP_PREFIX - it's probably due to me having installed Apache from an RPM, but there is no path "under which the include/ directory with Apache C header files can be found" that I can find - something a bit more concrete to feed into 'slocate' or 'find' might help here.

Apache/2.0.40 Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
[snip]

Also now the RPM is broken:

[root@fooTowers public]# rpm -e --nodeps mod_perl-1.99_05-3.i386.rpm
error: package mod_perl-1.99_05-3.i386.rpm is not installed
[root@fooTowers public]# rpm -ivh mod_perl-1.99_05-3.i386.rpm
Preparing... ########################################### [100%]
package mod_perl-1.99_05-3 is already installed

Niiiiice.

Essentially I just want to get mod_perl 2 working again and forget using the old Apache:: modules, either using the 1.99_08 binary or the 1.99_05-3 RPM. Any suggestions much appreciated!

TIA,
Jon


Reply via email to