httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <>
Subject Re: [users@httpd] Compiling module under Windows for Apache 2.2.4 with APXS.BAT/.PL
Date Wed, 03 Oct 2007 20:19:07 GMT
Mark A. Craig wrote:
>Got a tiny bit further:
>C:\Program Files\Apache Software Foundation\Apache2.2\bin>vsvars32.bat
>Setting environment for using Microsoft Visual Studio 2005 x86 tools.
>C:\Program Files\Apache Software Foundation\Apache2.2\bin>apxs -c -i 
>-a mod_httpbl.c
>cl  /nologo /MD /W3 /O2 /D WIN32 /D _WINDOWS /D NDEBUG 
>-I"C:\PROGRA~1\APACHE~1\Apache2.2\include"  /c /Fomod_httpbl.lo mod_httpbl.c
>C:\PROGRA~1\APACHE~1\Apache2.2\include\apr.h(92) : fatal error 
>C1083: Cannot open include file: 'windows.h': No such file or directory
>apxs:Error: Command failed with rc=131072
>How do I resolve this include failure, and how many other includes 
>will it fail to find?  There are a LOT of includes in that .c 
>file!  I know, for a guy who once upon a time did programming, I'm 
>such a complete newb.  I haven't touched any code file that didn't 
>end in .html since the 80s.  :-/
---------------- End original message. ---------------------

windows.h (and a whole bunch of other things you will need) are part 
of the Windows SDK which you can download from Microsoft's MSDN web site.


  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message