Closed rcbarnett-zz closed 10 years ago
Original reporter: skiglades
bpinto: Hello,
If you want we have a windows binary version already compiled at http://www.apachelounge.com/download/
Let me know if it solve your issue
Thanks
skiglades: That's an easy fix, thank you.
MODSEC-403: I'm receiving fatal errors during compilation in a Windows environment, when following the installation guide: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#windows-ms-vc-8. The "http_core.h" file referenced in the error is there so I'm not sure why the error.
C:\wamp\bin\apache\apache2.4.2\modules\mod_security2\apache2>NMAKE -f Makefile.w in APACHE=C:\wamp\bin\apache\apache2.4.2\bin PCRE=C:\wamp\bin\apache\apache2.4. 2\bin LIBXML2=C:\wamp\bin\apache\apache2.4.2\bin
Microsoft (R) Program Maintenance Utility Version 11.00.50727.1 Copyright (C) Microsoft Corporation. All rights reserved.
bin\apache\apache2.4.2\bin -IC:\wamp\bin\apache\apache2.4.2\bin\include -IC:\w amp\bin\apache\apache2.4.2\bin\include /nologo /O2 /LD /W3 /wd4244 /wd4018 -DWIN 32 -DWINNT -Dinline=APR_INLINE -D -c mod_security2.c -Fomod_security2.obj mod_security2.c mod_security2.c(17) : fatal error C1083: Cannot open include file: 'http_core.h' : No such file or directory NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\CL.EXE"' : return code '0x2' Stop.