Re: Installing on RH9

Edward Rudd <[email protected]> Tue, 27 Apr 2004 19:05:36 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <1083110736.1856.37.camel__2637.67309156737$1083169065@urkle.vernon.hills>
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 <[email protected]>
Website http://www.outoforder.cc/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAjvVQvwMxRUUct20RAmIpAJ4wH9eJloMk558KDtyZH1qgIQOuCgCeKFmE
g0uXj2L6CUjU9gJs0vdVdsE=
=9yep
-----END PGP SIGNATURE-----