After a good bunch of hours trying and retrying to get everything going
again, I did succeed in rebuilding apache and mod_perl (and Apache::ePerl,
which was a nice bonus).  I used a combination of Randal's, David
Wheeler's, and some of my own configs, and this is what finally gave me
joy.

(All of this follows building Perl 5.8.0 from source and letting it
overwrite /usr/bin/perl - we'll see whether that winds up being a mistake
or not).

I used Randal's layout of /opt/PACKAGE/VERSION/(etc), which I had always
shied away from before for reasons I'm not quite sure about; it makes all
kinds of sense to me now and worked very well.

mod_perl 1.27:

perl Makefile.PL APACHE_SRC=/opt/apache/1.3.26/src/apache_1.3.26/src
NO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1

make && make install

apache 1.3.26:

../configure --with-layout=GNU --prefix=/opt/apache/1.3.26
--enable-module=unique_id --enable-module=rewrite --enable-module=speling
--enable-module=expires --enable-module=info --enable-module=log_agent
--enable-module=log_referer --enable-module=usertrack
--enable-module=proxy --enable-module=userdir --enable-module=so
--activate-module=src/modules/perl/libperl.a --enable-module=perl

make && make install

For Apache::ePerl 2.2.14, I had to hack the configure file to hard-wire
recognition and support of 5.8.0, since the parsing was off and I'm not
wizardly in shell scripting:

# perlvers=`$perlprog -v | grep version | sed -e 's/.* version //'
# -e 's/built.*//' -e 's/ with.*//'`
perlvers=5.8.0

and

case $perlvers in
    5.003* | 5.004* | 5.005* | 5.006* | 5.8.0* )

Then the usual "perl Makefile.PL && make && make intall" worked.

Rebuilding DBI and MIME::Base64 in CPAN following the Perl install was the
last piece I needed.  It's all in and it seems to be working great.  I
could almost cry.

(Just in case any of this helps anybody else.)

Cheers,

Steve Linberg


-- 
Steve Linberg, Chief Goblin 
Silicon Goblin Technologies 
http://silicongoblin.com 
Be kind.  Remember, everyone you meet is fighting a hard battle. 



Reply via email to