Joshua Slive wrote:
> On 10/19/07, Bernard Barton <[EMAIL PROTECTED]> wrote:
>
>> When I run an apachectl configtest, I get the errors below regarding
>> compiling apache with -DEAPI. Apche has an option "--disable-rule=EAPI=no",
>> and I also tried --enable-rule=EAPI=no. Oddly, when I run make in the
>> apache_1.3.33 directory, I see the -DEAPI being passed to the compiler. Yet
>> still I get the errors below I'm building an apache 1.3.33 that is
>> mod_ssl/mod_perl aware httpd. BTW, these errors are generated by the
>> corresponding LoadModule directive in the httpd.conf file.
>>
>> -Thanks
>>
>>
>> [Fri Oct 19 11:15:33 2007] [warn] Loaded DSO libexec/mod_vhost_alias.so uses
>> plain Apache 1.3 API, this module might crash under EAPI! (please recompile
>> it with -DEAPI)
>> [Fri Oct 19 11:15:33 2007] [warn] Loaded DSO libexec/mod_log_config.so uses
>> plain Apache 1.3 API, this module might crash under EAPI! (please recompile
>> it with -DEAPI)
>> [Fri Oct 19 11:15:33 2007] [warn] Loaded DSO libexec/mod_actions.so uses
>> plain Apache 1.3 API, this module might crash under EAPI! (please recompile
>> it with -DEAPI)
>>
>>
>
> Your modules are obviously not being compiled at the same time as the
> main server, which is leading to your problem. A couple notes on that:
>
> 1. You should just use 2.2, which does away with the whole EAPI confusion.
>
> 2. If you need more help, you'll need to specify exactly where you are
> getting apache from and how you are building it. You didn't provide
> any interesting details.
>
> Joshua.
>
>
I wish I could use apache 2.x, but unfortunately, I need to remain at
version 1.3.33. I'm building a mod_ssl and mod_perl enabled httpd.
Here are the latest build parameters I've used:
cd ~/apache-ssl
#Use this if using the RPM packages openssl.
echo "Building openssl..." >&2
cd openssl-0.9.6b
./config
make
##make test
make install
echo "Building mod_ssl..." >&2
cd ..
cd mod_ssl-2.8.24-1.3.33
./configure \
--with-apache=../apache_1.3.33 \
--prefix=/usr/local/apache-test-1.3.33 \
--with-ssl=../openssl-0.9.6b \
--enable-module=ssl \
--enable-module=so \
echo "Building mod_perl..." >&2
cd..
cd mod_perl-1.29
perl Makefile.PL \
EVERYTHING=1 \
APACHE_SRC=../apache_1.3.33/src \
APACHE_PREFIX=/usr/local/apache-test-1.3.33 \
SSL_BASE=/usr/local/ssl \
USE_APACI=0 \
PREP_HTTPD=1 \
DO_HTTPD=1
APACI_ARGS=--enable-module=ssl,--enable-module=so,--enable-module=rewrite
make
##make test
make install
echo "Building apache..." >&2
cd ..
cd apache_1.3.33
./configure \
--prefix=/usr/local/apache-test-1.3.33 \
--with-layout=Apache \
--enable-module=so \
--enable-module=ssl --enable-shared=ssl \
--enable-module=rewrite --enable-shared=rewrite \
--enable-module=vhost_alias --enable-shared=vhost_alias \
--enable-module=log_config --enable-shared=log_config \
--enable-module=env --enable-shared=env \
--enable-module=mime --enable-shared=mime \
--enable-module=negotiation --enable-shared=negotiation \
--activate-module=src/modules/perl/libperl.a \
--disable-shared=perl \
--enable-rule=EAPI=no \
--without-execstrip
make
make certificate TYPE=dummy
##make install
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]