Re: Compiling module under Windows for Apache 2.2.4 with APXS.BAT/.PL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark A. Craig wrote:
> 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
> 
> mod_httpbl.c(360) : fatal error C1083: Cannot open include file:
> 'sys/socket.h': No such file or directory
> 
> apxs:Error: Command failed with rc=131072
> 
> So why am I missing this one, and what SDK do I hafta download to get it?

You are there!!!  You will be able to build 'many' modules.

Sadly this author isn't using the APR API (w/httpd) for socket io.  There
is no win32 sys/socket.h.  Essentially this is not a win32 ported (or
generally portable) module.  Even on unix, sys/socket.h frequently
changes identity (which is why there is so much autoconf gunk in the
wheels of apr and httpd's ./configure).

Bill

Bill

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux