Unable to compile Nginx 1.12.1 with ModSecurity

cozmo nginx-forum at forum.nginx.org
Fri Aug 25 12:17:15 UTC 2017

We have been using Nginx with ModSecurity for some time. We are moving from
Nginx 1.10 to 1.12.  Following the same receipe as always, compiling Nginx
1.12.1 with ModSecurity 2.9.2 now gives error:

cc: error:
No such file or directory
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/home/rpmbuild/rpmbuild/BUILD/nginx-1.12.1'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.TezlYj (%build)

Compiling Nginx 1.10.1 with ModSecurity 2.9.2 the same way works perfectly

What am I missing? Is there something that should be done differently when
compiling 1.12.1?


Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276154,276154#msg-276154

More information about the nginx mailing list