{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/900","labels_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/900/comments","events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/900/events","html_url":"https://github.com/SpiderLabs/ModSecurity/issues/900","id":88557083,"number":900,"title":"Disabling mlogc breaks standalone build","user":{"login":"quanah","id":1817107,"avatar_url":"https://avatars.githubusercontent.com/u/1817107?v=3","gravatar_id":"","url":"https://api.github.com/users/quanah","html_url":"https://github.com/quanah","followers_url":"https://api.github.com/users/quanah/followers","following_url":"https://api.github.com/users/quanah/following{/other_user}","gists_url":"https://api.github.com/users/quanah/gists{/gist_id}","starred_url":"https://api.github.com/users/quanah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanah/subscriptions","organizations_url":"https://api.github.com/users/quanah/orgs","repos_url":"https://api.github.com/users/quanah/repos","events_url":"https://api.github.com/users/quanah/events{/privacy}","received_events_url":"https://api.github.com/users/quanah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-15T22:28:13Z","updated_at":"2015-07-29T00:00:10Z","closed_at":null,"body":"If --disable-mlogc and --enable-standalone-module are passed to configure, the result is not buildable, with the following error:\r\n\r\n```\r\nMaking all in standalone\r\nmake[2]: Entering directory `/home/build/p4/zimbra/main/ThirdParty/modsecurity/zimbra-modsecurity/rpm/BUILD/modsecurity-2.9.0/standalone'\r\n/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../apache2    -DVERSION_NGINX -I/opt/zimbra/common/include -I/opt/zimbra/common/include -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/opt/zimbra/common/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500  -DREQUEST_EARLY          -DWITH_REMOTE_RULES  -O0 -g  -MT ../apache2/standalone_la-acmp.lo -MD -MP -MF ../apache2/.deps/standalone_la-acmp.Tpo -c -o ../apache2/standalone_la-acmp.lo `test -f '../apache2/acmp.c' || echo './'`../apache2/acmp.c\r\nlibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../apache2 -DVERSION_NGINX -I/opt/zimbra/common/include -I/opt/zimbra/common/include -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/opt/zimbra/common/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY -DWITH_REMOTE_RULES -O0 -g -MT ../apache2/standalone_la-acmp.lo -MD -MP -MF ../apache2/.deps/standalone_la-acmp.Tpo -c ../apache2/acmp.c  -fPIC -DPIC -o ../apache2/.libs/standalone_la-acmp.o\r\nIn file included from ../apache2/acmp.c:17:0:\r\n../apache2/acmp.h:18:17: fatal error: apr.h: No such file or directory\r\n #include <apr.h>\r\n                 ^\r\ncompilation terminated.\r\nmake[2]: *** [../apache2/standalone_la-acmp.lo] Error 1\r\nmake[2]: Leaving directory `/home/build/p4/zimbra/main/ThirdParty/modsecurity/zimbra-modsecurity/rpm/BUILD/modsecurity-2.9.0/standalone'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/home/build/p4/zimbra/main/ThirdParty/modsecurity/zimbra-modsecurity/rpm/BUILD/modsecurity-2.9.0'\r\n```\r\n\r\nIf I remove the --disable-mlogc option, it compiles just fine."},"comment":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/comments/125785280","html_url":"https://github.com/SpiderLabs/ModSecurity/issues/900#issuecomment-125785280","issue_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/900","id":125785280,"user":{"login":"quanah","id":1817107,"avatar_url":"https://avatars.githubusercontent.com/u/1817107?v=3","gravatar_id":"","url":"https://api.github.com/users/quanah","html_url":"https://github.com/quanah","followers_url":"https://api.github.com/users/quanah/followers","following_url":"https://api.github.com/users/quanah/following{/other_user}","gists_url":"https://api.github.com/users/quanah/gists{/gist_id}","starred_url":"https://api.github.com/users/quanah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanah/subscriptions","organizations_url":"https://api.github.com/users/quanah/orgs","repos_url":"https://api.github.com/users/quanah/repos","events_url":"https://api.github.com/users/quanah/events{/privacy}","received_events_url":"https://api.github.com/users/quanah/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T00:00:10Z","updated_at":"2015-07-29T00:00:10Z","body":"Sorry for the delay, I had an upcoming vacation to prepare for and then take. ;)\r\n\r\nhttps://gist.github.com/quanah/7d43487c8f3f1582cd05"}}