Silvio Wanka wrote:
Stas Bekman wrote:
I am just wondering why the touted method of using apxs to add a
apache module did not work. After all, that is the main advantatage of
DSO: given an apache server with mod_so built in, one should be able to
use apxs to add any well-written apache module as DSO without the apache
source. This is the reason I was trying the apxs approach. We have
a well customized apache binary distribution without source and I wanted
to add mod_perl to it. Looks like this approach fails if mod_ssl is already built in as DSO first.
You can certainly take the time to try to investigate what the real problem is. I'd guess that apxs undelivers some flags and includes, causing that failure. nm(1) should be helpful to diagnose the symbol tables, ldd(1) -- shared libraries.
Hi,
mod_ssl need a extended apache API. We use apache with mod_so and both (mod_ssl and mod_perl) as DSO. But you must add the EAPI patch included in mod_ssl to the apache source tree before you build apache:
#!/bin/sh tar xzf mod_ssl-${mod_ssl_version}-${apache_version}.tgz tar xzf apache_${apache_version}
cd apache_${apache_version} cd ../mod_ssl-${mod_ssl_version}-${apache_version}
./configure \ --verbose \ --with-apache=$OLDPWD \ --with-eapi-only
addon=$PWD/pkg.addon
cd -
patch -p0 < $addon/addon.patch
# BTW add mod_define if you want
# this need the additional apache configure options --enable-module=define --enable-shared=define
cp $addon/mod_define.c src/modules/extra/
cp $addon/mod_define.html htdocs/manual/mod
regards,
-- Silvio Wanka
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html