Just tested with my CentOS 5.3 and looks OK.

I will need to build a CentOS 6.4 and try.


On Thu, Jul 18, 2013 at 4:29 PM, Breno Silva <breno.silva@gmail.com> wrote:
Right. I tested it in my Ubuntu (mod_security 2.7.5 + nginx 1.5.2) and all compiled fine. Maybe some issue related to CentOS ?

Did you run "make install"  after ./configure --enable-standalone-module ?



On Thu, Jul 18, 2013 at 4:19 PM, Ian Webb <perelman42@gmail.com> wrote:

(Attempting to reply to a thread from before I joined the list,
apologies if this doesn't thread correctly)

I grabbed your latest tarball of 2.7.5 RC and it compiles and passes
all unit tests for me on CentOS 6.4. However, when I compile the Nginx
module with --enable-standalone-module, Nginx compilation with the
module fails. Make in the modsecurity directory works fine, as does
Nginx make with including the ModSecurity 2.7.4 module. But when I
include the 2.7.5 module I get this:

<many lines snipped>

In function ‘ngx_http_modsecurity_cleanup’:

error: ‘ngx_http_modsecurity_ctx_t’ has no member named ‘req’

error: implicit declaration of function ‘modsecFinishRequest’

error: ‘ngx_http_modsecurity_ctx_t’ has no member named ‘req’

At top level:

error: expected ‘)’ before ‘*’ token

make[1]: *** [objs/addon/modsecurity/ngx_http_modsecurity.o] Error 1

make[1]: Leaving directory `/root/nginx-1.5.2'

make: *** [build] Error 2

I am using this configure for modsecurity: ./configure
--enable-standalone-module --enable-pcre-jit --with-pcre=../pcre-8.33

And this configure for Nginx 1.5.2: ./configure --with-debug
--with-ipv6 --with-http_ssl_module --with-http_spdy_module
--with-http_realip_module --with-http_stub_status_module
--with-pcre=/root/pcre-8.33 --with-pcre-jit



See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
mod-security-developers mailing list
ModSecurity Services from Trustwave's SpiderLabs: