httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark A. Craig" <>
Subject [users@httpd] Compiling module under Windows for Apache 2.2.4 with APXS.BAT/.PL
Date Wed, 03 Oct 2007 16:16:40 GMT
I've been making futile efforts to compile a module, mod_httpbl.c, and
not having any luck.  I found and installed (or at least think I have)
the contents of, with which William/Bill Rowe seems to
have had some involvement.  However, when I try to follow the
recommended instructions for compiling this module, it fails with
various errors.  Along the way I discovered that apxs.bat used a
long-filename reference to perl.exe, but it wasn't properly quoted and
it was failing to find perl.exe, so I had to actually edit apxs.bat and
change the reference to 8.3 format.

The command I'm instructed to use to compile it is:

apxs -c -i -a mod_httpbl.c

When I try this from a Command window in \bin\ and the .c file in that
same directory, I get the following response:

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

'cl' is not recognized as an internal or external command,
operable program or batch file.
apxs:Error: Command failed with rc=65536

Is it going to be practical to compile this module?  I may be in far
over my head.


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