[Mod_log_sql] Installing on RH9

Edward Rudd urkle at outoforder.cc
Tue Apr 27 19:05:36 EST 2004


On Tue, 2004-04-27 at 17:56, Ron Gilbert wrote:
> 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'.
> 
This can be safely ignored it's from checking the Apache 1.3 APXS. 
Which is interesting as you stated you only had apache 2.0 installed..
At the end of the configure run did it say which version of apache it
was compiling for?
> 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
> 
Download and apply the patch on the project website.

> 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.
Hmm. (checks RH 9 system) Probably.. It should run with 2.0.40, though I
haven't tested.. I just randomly picked 2.0.44 as it sounded like a good
minimum.. I shall investigate the *actual* minimum.  Edit the configure
script and goto line 1977 and change the 2.0.44 to 2.0.40 and then rerun
configure.
> 
> Ron
> 
> 
> 
> 
-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20040427/dbfb413d/attachment.bin 


More information about the Mod_log_sql mailing list