[Mod_log_sql] Compiling mod_log_sql 1.99 with SSL supprt

Ian cobalt-users1 at fishnet.co.uk
Thu May 25 08:06:43 EDT 2006


Hi,

I having some problems compiling mod_log_sql 1.99 with SSL support, 
probably because of my unusual setup.

I have apache and any modules I use (such as mod_ssl) compiled from 
source.  All source packages are stored under /usr/src/apache:

apache_1.3.xx
mod_auth_mysql
mod_log_sql-1.99
mod_ssl-x.x.
openssl-x.x.x

I have previously compiled apache, mod_ssl and openssl and all is 
working ok.

When I try and compile mod_log_sql with:

./configure \
	--with-apxs=/usr/local/sbin/apxs \
	--with-ssl-inc=/usr/include/openssl \
	--enable-ssl

I get the following output:

configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for Apache 2.0 version >= 2.0.40... no
checking for Apache 1.3 version >= 1.3.20... yes
checking for floor in -lm... yes
checking for gzclose in -lz... yes
checking for mysql_init in -lmysqlclient... yes
checking for mysql_real_escape_string... yes
checking whether mysql clients can run... yes
checking for dbi Includes in /usr/include... found it! Use --with-dbi 
to specify another.
checking for libdbi library in /usr/lib... yes
checking for dbi_version in -ldbi... no
configure: WARNING: ** libDBI client libraries not found!
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configure: error: ** mod_ssl.h not found or missing SSL headers!

The warning about libDBI is strange as the rpms are installed:

# rpm -qa | grep -i libdbi
libdbi-devel-0.6.5-9
libdbi-0.6.5-9

But maybe I need soemthing else as well?

mod_ssl.h is present in my source folder and I have added a symbolic 
link to the /usr/include folder as well as the /usr/include/openssl 
folder with no change in the error:

# find /usr -name mod_ssl.h
/usr/src/apache/mod_ssl-xxx/pkg.sslmod/mod_ssl.h
/usr/include/openssl/mod_ssl.h
/usr/include/mod_ssl.h

How do I go about resolving these issues?

Thanks in advance.

Ian
-- 





More information about the Mod_log_sql mailing list