Re: Installing on RH9

Ron Gilbert <[email protected]> Tue, 27 Apr 2004 15:56:10 -0700
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
I just installed mysql.devel and the configure now runs, although it 
reports:

apxs:Error: Invalid query string `APR_INCLUDEDIR'.
apxs:Error: Invalid query string `APU_INCLUDEDIR'.

when I run gmake, I get several screens full of warnings like:

In file included from /usr/include/httpd/ap_config.h:269,
                  from /usr/include/httpd/httpd.h:72,
                  from apache13.h:5,
                  from mod_log_sql.c:19:
/usr/include/httpd/ap_config_auto.h:167:1: "PACKAGE_NAME" redefined
...
mod_log_sql.c: In function `log_sql_opendb_link':
mod_log_sql.c:155: request for member `forcepreserve' in something not a 
structure or union
mod_log_sql.c:156: request for member `db' in something not a structure 
or union
...
mod_log_sql.c:911: request for member `db' in something not a structure 
or union
mod_log_sql.c:913: request for member `driver' in something not a 
structure or union
mod_log_sql.c:913: request for member `db' in something not a structure 
or union
mod_log_sql.c:915: warning: assignment makes pointer from integer 
without a cast
...
mod_log_sql.c:1222: warning: excess elements in struct initializer
mod_log_sql.c:1222: warning: (near initialization for `log_sql_module')
apxs:Error: Command failed with rc=65536

Also, according to messages during the configure process, it think I am 
running Apache 1.3, but that might just be because I am not running > 
2.0.44.

Ron