Hi all!
I run mod_perl for my webservers and it's pretty darn nice... ;-)
However, I see comments like, 'Oh, that was a bug log ago fixed in the CVS'
and then I cringe:
Building mod_perl like I want it is not a process I've ever been able to get
"simple."
My environment is RedHat 6.2, but RedHat ships Apache w/ Mod_perl as a DSO.
That causes me absolutely NOTHING BUT PROBLEMS, so...
I took the apache source RPM and expanded it (with RedHat patches), then
expanded mod_perl the same way, and hand-built a makepl_args.mod_perl to
attempt to get a (mostly) RedHat-style httpd with static mod_perl.
In a word, yuck:
APACHE_SRC=../apache-1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1 \
APACI_ARGS=--prefix=/usr --with-layout=RedHat --add-module=/usr/src/redhat/S
OURCES/mod_bandwidth.c --add-module
=/usr/src/redhat/SOURCES/mod_put.c --enable-module=all --enable-shared=max -
-disable-rule=WANTHSREGEX --disable-module=auth_dbm --with-perl=/usr/bin/per
l --enable-suexec --suexec-docroot=/home/httpd/html --suexec-caller=nobody -
-disable-shared=perl
cd mod_perl-#.##
make
make install
cd ../apache-#.#.#
make install
Is there an easier/cleaner way to do this???????????????
Any suggestions would be very welcome.
L8r,
L V