Re: [Mod-security-developers] [Vote] 2.7.5
Brought to you by:
victorhora,
zimmerletw
From: Breno S. <bre...@gm...> - 2013-07-18 19:55:30
|
Just tested with my CentOS 5.3 and looks OK. I will need to build a CentOS 6.4 and try. Breno On Thu, Jul 18, 2013 at 4:29 PM, Breno Silva <bre...@gm...> 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 ? > > Thanks > > Breno > > > On Thu, Jul 18, 2013 at 4:19 PM, Ian Webb <per...@gm...> wrote: > >> Hi, >> >> (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> >> >> /root/modsecurity-apache_2.7.5/nginx/modsecurity/ngx_http_modsecurity.c: >> In function ‘ngx_http_modsecurity_cleanup’: >> >> >> /root/modsecurity-apache_2.7.5/nginx/modsecurity/ngx_http_modsecurity.c:1376: >> error: ‘ngx_http_modsecurity_ctx_t’ has no member named ‘req’ >> >> >> /root/modsecurity-apache_2.7.5/nginx/modsecurity/ngx_http_modsecurity.c:1377: >> error: implicit declaration of function ‘modsecFinishRequest’ >> >> >> /root/modsecurity-apache_2.7.5/nginx/modsecurity/ngx_http_modsecurity.c:1377: >> error: ‘ngx_http_modsecurity_ctx_t’ has no member named ‘req’ >> >> /root/modsecurity-apache_2.7.5/nginx/modsecurity/ngx_http_modsecurity.c: >> At top level: >> >> >> /root/modsecurity-apache_2.7.5/nginx/modsecurity/ngx_http_modsecurity.c:1434: >> 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 >> --with-openssl=/root/openssl-1.0.1e >> --add-module=/root/modsecurity-apache_2.7.4/nginx/modsecurity >> >> >> Thanks, >> >> Ian >> >> >> ------------------------------------------------------------------------------ >> 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! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> mod-security-developers mailing list >> mod...@li... >> https://lists.sourceforge.net/lists/listinfo/mod-security-developers >> ModSecurity Services from Trustwave's SpiderLabs: >> https://www.trustwave.com/spiderLabs.php >> > > |