On Wed, Jan 15, 2003 at 01:32:30PM +0000, Jon wrote: > > 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. >
To compile mod_perl-1.99_xx on RedHat 8.0 I used : $ perl Makefile.PL MP_APXS=/usr/sbin/apxs First, I removed the original mod_perl-1.99_05 RPMS then I compiled and installed the newer one. > > 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 > The package name is "mod_perl-1.99_05-3" and not "mod_perl-1.99_05-3.i386.rpm" (remove the ".i386.rpm" extension). So, to remove the package you should use : $ rpm --erase --nodeps mod_perl-1.99_05-3 --