Hello all!

Using apache 1.3.33 with mod_ssl 2.8.22, i want to compile mod_perl 1.29 as a
loadable module.

here is the snippet related to mod_perl installation:

perl Makefile.PL USE_APXS=1 \
                WITH_APXS=/usr/local/sbin/apxs \
                ENABLE_RULE=EAPI \
                EVERYTHING=1
make
make install

this create and install a usable libperl.so module, but when starting apache-ssl, i've got the
following warning:

[warn] Loaded DSO /usr/local/libexec/libperl.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

but the module IS compiled with -DEAPI, as can be seen in logs:

cc -fPIC -O2 -I/usr/lib/perl/5.6.1/CORE -DDEBIAN -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL_VERSION=\"1.29\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.29\" -I/usr/local/include/apache-ssl -DMOD_PERL -DLINUX=22 -DTARGET=\"apache-ssl\" -DHAVE_SET_DUMPABLE -I/usr/include/db1 -DDEV_RANDOM=/dev/random -DMOD_SSL=208122 -DUSE_HSREGEX -DEAPI -DEAPI_MM -fpic -DSHARED_CORE -O2 -Wall  -c mod_perl.c && mv mod_perl.o mod_perl.lo

Does the link phase have this define too ? that's not the case:

rm -f libperl.so
cc -shared -L/usr/local/lib -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo
perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo Table.lo -rdynamic  -L/usr/local/lib /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt

Any help appreciated ;-)
--
Didier Belot

Reply via email to