Hi,
I was able to compile modsecurity-v3.0.9 partially still not sure whether it compiled sucessfully or not. But modsecurity-nginx-v1.0.3 compile is failing while compiling with Nginx. Below is the error
=== Build modsecurity-nginx v1.0.3
Expanding modsecurity-nginx-v1.0.3
Cleaning ...make: *** No rule to make target `clean'. Stop.
Configuring ...3.10.0-1160.83.1.el7.x86_64
/bin/bash: ./configure: No such file or directory
Compiling (5mins) ...make: *** No targets specified and no makefile found. Stop.
Installing ...cp: cannot stat ‘lib/libmodsecurity*’: No such file or directory
make: *** No rule to make target `install'. Stop.
Build modsecurity_nginx COMPLETED...........
modsecurity-nginx-v1.0.3 is not all compiling and configuring with lib folder.
Below is modsecurity configure step:-
./configure CC="gcc" CFLAGS="-$maix64var" \
--prefix=/local/nginxbuild$m/compiled_modsecurity \
--libdir=/local/nginxbuildx64/compiled_modsecurity/lib \
--with-apr=/local/nginxbuild$m/nginx-$version/srclib/apr \
--with-apu=/local/nginxbuild$m/nginx-$version/srclib/apr-util \
--with-pcre=/local/nginxbuild$m/pcre \
--with-libxml=/local/nginxbuild$m/compiled_libxml2 \
--with-curl=/local/nginxbuild$m/compiled_curl \
--with-lua=/local/nginxbuild$m/compiled_luajit \
--enable-standalone-module \
--disable-mlogc
Below is modsecurity-nginx configure step:-
./configure --prefix=/local/nginxbuild$m/compiled_modsecurity-nginx --libdir=/local/nginxbuildx64/compiled_modsecurity/lib --with-modsecurity=/local/nginxbuild$m/modsecurity-$modsecurityversion --disable-maintainer-mode
Below is Nginx configure step:-
./configure --add-dynamic-module="/local/nginxbuild$m/modsecurity-nginx-$modsecuritynginxversion"
Please advise and give me the pointers where I am failing
Thanks
Manoj