On Sun, 14 Jul 2002, eric wrote:

> I've tried every which way and still can't get mod_perl to compile.
>
<snip>

apache 2.x is not supported well at this point
You didn't say which SSL you were running, but if it's ben's apache-ssl,
this simple set of instructions will work.

build and install openssl9.6x (b or c) at least unpack apache_1.3.26
copy apache_1.3.26_ssl_1.48.tgz into apache directory, uppack and run
./FixPatch
rm apache/src/Configuration
rm apache/src/Configuration.apaci

edit apache/src/Configuration.tmpl to enable standard modules you may want
that are commented out. Typically that will be something like
... mod_info.o, mod_rewrite.o, mod_so.o libproxy.a

now go to the mod perl directory
modperl-1.26 or 1.27

Run:
perl Makefile.PL \
        APACHE_SRC=/usr/src/apache/src \
        DO_HTTPD=1 \
        USE_APACI=1 \
        PREP_HTTPD=1 \
        EVERYTHING=1 \

make
make test       # broken
make install

This will build modperl and copy the appropriate modules to the apache src
directories.  Answer YES to the questions asked by script

go back to apache directory and run....

./configure --with-layout=Apache \
        --activate-module=src/modules/perl/libperl.a
make
make install

all done :-)

Michael



Reply via email to