{"action":"created","issue":{"url":"https://api.github.com/repos/maxmind/mod_maxminddb/issues/24","labels_url":"https://api.github.com/repos/maxmind/mod_maxminddb/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/maxmind/mod_maxminddb/issues/24/comments","events_url":"https://api.github.com/repos/maxmind/mod_maxminddb/issues/24/events","html_url":"https://github.com/maxmind/mod_maxminddb/issues/24","id":60639026,"number":24,"title":"Error on compiling on CentOS release 6.6 (Final)","user":{"login":"netzloesungen","id":3713906,"avatar_url":"https://avatars.githubusercontent.com/u/3713906?v=3","gravatar_id":"","url":"https://api.github.com/users/netzloesungen","html_url":"https://github.com/netzloesungen","followers_url":"https://api.github.com/users/netzloesungen/followers","following_url":"https://api.github.com/users/netzloesungen/following{/other_user}","gists_url":"https://api.github.com/users/netzloesungen/gists{/gist_id}","starred_url":"https://api.github.com/users/netzloesungen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netzloesungen/subscriptions","organizations_url":"https://api.github.com/users/netzloesungen/orgs","repos_url":"https://api.github.com/users/netzloesungen/repos","events_url":"https://api.github.com/users/netzloesungen/events{/privacy}","received_events_url":"https://api.github.com/users/netzloesungen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-11T10:38:11Z","updated_at":"2015-03-13T16:03:18Z","closed_at":null,"body":"\r\nWhen trying to compile the module we get the following error on CentOS release 6.6 (Final). Any ideas?\r\n\r\nThanks for your help in advance!\r\n\r\n```\r\nLANG=C make\r\nMaking all in src\r\nmake[1]: Entering directory /opt/mod_maxminddb-1.0.0/src'\r\n/usr/sbin/apxs -c -lmaxminddb -Wc,\"-g -O2\" mod_maxminddb.c\r\n/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -g -O2 -c -o mod_maxminddb.lo mod_maxminddb.c && touch mod_maxminddb.slo\r\nmod_maxminddb.c: In function 'export_env':\r\nmod_maxminddb.c:265: error: 'for' loop initial declarations are only allowed in C99 mode\r\nmod_maxminddb.c:265: note: use option -std=c99 or -std=gnu99 to compile your code\r\nmod_maxminddb.c: In function 'export_env_for_lookups':\r\nmod_maxminddb.c:324: error: 'for' loop initial declarations are only allowed in C99 mode\r\napxs:Error: Command failed with rc=65536\r\n.\r\nmake[1]: *** [module] Error 1\r\nmake[1]: Leaving directory/opt/mod_maxminddb-1.0.0/src'\r\nmake: *** [all-recursive] Error 1\r\n```\r\n\r\nRegards, \r\n\r\nAndreas"},"comment":{"url":"https://api.github.com/repos/maxmind/mod_maxminddb/issues/comments/79079893","html_url":"https://github.com/maxmind/mod_maxminddb/issues/24#issuecomment-79079893","issue_url":"https://api.github.com/repos/maxmind/mod_maxminddb/issues/24","id":79079893,"user":{"login":"netzloesungen","id":3713906,"avatar_url":"https://avatars.githubusercontent.com/u/3713906?v=3","gravatar_id":"","url":"https://api.github.com/users/netzloesungen","html_url":"https://github.com/netzloesungen","followers_url":"https://api.github.com/users/netzloesungen/followers","following_url":"https://api.github.com/users/netzloesungen/following{/other_user}","gists_url":"https://api.github.com/users/netzloesungen/gists{/gist_id}","starred_url":"https://api.github.com/users/netzloesungen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netzloesungen/subscriptions","organizations_url":"https://api.github.com/users/netzloesungen/orgs","repos_url":"https://api.github.com/users/netzloesungen/repos","events_url":"https://api.github.com/users/netzloesungen/events{/privacy}","received_events_url":"https://api.github.com/users/netzloesungen/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T16:03:17Z","updated_at":"2015-03-13T16:03:17Z","body":"Any idea how we could solve that issue would be appreciated. \r\n\r\nThanks,\r\n\r\nAndreas"}}