Hi Kenny,

We use SunOS 5.8 with mod_perl 1.27 on SPARC processors. We
don't use DSO but build mod_perl statically into httpd.

Here is the configure we use for mod_perl:

CC=cc \
/opt/perl5/bin/perl Makefile.PL APACHE_SRC=../apache-1.3.27/src \
        DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

and for apache:

CC=cc CFLAGS="-O -DEAPI" \
./configure  --prefix=/web/adm/apache_1.3.27 \
--activate-module=src/modules/perl/libperl.a

(this is actually a simplified version; we also enable a
bunch of other shared modules)

Note that 'cc' above is the Sun C compiler (ours is installed
in /opt/SUNWspro/bin/cc). If you use gcc make sure you use it
for both mod_perl and apache.

I hope this helps!

Keith

>This is how I configured apache:
>
>./configure --prefix=/usr/local/kenny --enable-module=rewrite
>--enable-shared=rewrite --enable-suexec --suexec-caller=nobody
>--suexec-docroot=/usr/www --enable-module=so
>
>and this is how I configured mod_perl:
>
>perl Makefile.PL \
>     USE_APXS=1 \
>     WITH_APXS=/usr/local/apache/bin/apxs \
>     EVERYTHING=1

Reply via email to