httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark A. Craig" <>
Subject Re: [users@httpd] Compiling module under Windows for Apache 2.2.4 with APXS.BAT/.PL
Date Wed, 03 Oct 2007 20:42:39 GMT
You mean it doesn't come included with a WINDOWS-based compiler package from 

And actually, in my case I'll apparently need the old-fashioned Platform SDK, 
because I'm compiling on Windows 2000....

*runs outside to the hand pump connected to his pipe to the Internet, starts 


-------- Original Message  --------
Subject: Re: [users@httpd] Compiling module under Windows for Apache  2.2.4 with 
From: Dragon <>
Date: Wednesday, October 03, 2007 01:19:07 PM

> 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
>> 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.
> Dragon

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