Re: [mod-security-users] Another error installing mod_security (snapshot) on Apache 2.1.7 beta
Brought to you by:
victorhora,
zimmerletw
From: Ivan R. <iv...@we...> - 2005-09-22 07:45:21
|
ro so wrote: > Your first attempt was probably with 1.9dev3 earlier? > /usr/local/apache2/bin/apxs -cia mod_security.c > /usr/local/apache2/build/libtool --silent --mode=compile gcc > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE > -g -O2 -pthread -I/usr/local/apache2/include > -I/usr/local/apache2/include -I/usr/local/apache2/include > -I/usr/local/include -c -o mod_security.lo mod_security.c && touch > mod_security.slo > mod_security.c: In function `is_response_status_relevant': > mod_security.c:4905: error: `REG_NOMATCH' undeclared (first use in this > function) > mod_security.c:4905: error: (Each undeclared identifier is reported only > once > mod_security.c:4905: error: for each function it appears in.) > apxs:Error: Command failed with rc=65536 Use this against 1.9dev4, or the snapshot you have (they are the same anyway). --- mod_security.c 19 Sep 2005 09:22:16 -0000 1.269 +++ mod_security.c 22 Sep 2005 07:39:43 -0000 @@ -43,6 +43,7 @@ #define REG_EXTENDED AP_REG_EXTENDED #define REG_NOSUB AP_REG_NOSUB #define REG_ICASE AP_REG_ICASE +#define REG_NOMATCH AP_REG_NOMATCH #endif #include "ap_config.h" -- Ivan Ristic Apache Security (O'Reilly) - http://www.apachesecurity.net Open source web application firewall - http://www.modsecurity.org |