Jeff Moore - 2006-06-27


Compiling 3.0 with

apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c

results in a string of warnings, the first of which is:
mod_auth_mysql.c: In function `format_remote_host':
mod_auth_mysql.c:901: warning: return makes pointer from integer without a cast

I went ahead and installed anyway, but
apachectl -t

gives me

Syntax error on line 6 of /etc/httpd/conf.d/auth_mysql.conf:
Cannot load /etc/httpd/modules/ into server: /etc/httpd/modules/ undefined symbol: ap_escape_logitem

This is using apache 2.0.40 and mysql 4.1.18.

Any suggestions on how to get mod_auth_mysql working in this configuration?