httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marina Santos" <>
Subject Re: [users@httpd] Apache 2.1.9 build under Windows 2003 with Visual Studio .NET : Corrupt distribution files?
Date Wed, 30 Nov 2005 01:44:10 GMT
I compiled apache 2.1.10 
( tarball, result at 
from the command line. I used Visual C++ 6.0 and the latest platform SDK.
If I recall correctly the steps were (I'll mention zlib and openssl at the 
0. (get perl and awk)
1. get and 
extract to, say, c:\path
2. get apr, apr-util and apr iconv (latest versions) from and extract to c:\path\srclib\apr, 
c:\path\srclib\apr-util and c:\path\apr-iconv
3. open the prompt and set the environment (run batch files that set the 
environment variables for the platform sdk and visual c++)
4. run perl (...)\ c:\path
5. edit c:\path\, line 403 and change  'copy 
modules\experimental\$(LONG)\mod_charset_lite.$(src_so) "$(inst_so)" <.y' 
into  'copy modules\filters\$(LONG)\mod_charset_lite.$(src_so) "$(inst_so)" 
<.y' somehow this was broken
6. run 'nmake /f c:\path\ PORT=80 INSTDIR="d:\Program 
Files\Apache" installr' or sth similar

I had some trouble compiling mod_ssl and mod_deflate; it wasn't enough to 
put the sources under srclib (and, in case of openssl follow the 
instructions for an apache build as I'd read at and I had to 
compile openssl and zlib apart to get the dlls and import libraries. Btw, 
the latest version of zlib worked fine, I merely had to change the import 
library name from zlib1.lib to zlib.lib.

Gustavo Lopes

----- Original Message ----- 
Sent: Tuesday, November 29, 2005 8:51 AM
Subject: Re: [users@httpd] Apache 2.1.9 build under Windows 2003 with Visual 
Studio .NET : Corrupt distribution files?

"William A. Rowe, Jr." <> wrote on 18/11/2005 19:51:26:

> Well, the .zip file is DOS text encoded for line endings, so that's
> probably what you wanted.


Thanks for your explanation, it gave me some starting point to get a 
apache-no-ssl-2.1.9 compiled for Windows 2003 using Visual Studio .Net 2003:
However, the standard compilation instructions on my PC were:
- get the .zip
- get apr-iconv-1.01 and unzip it into srclib/apr-iconv
- unzip it and change LF to CR/LF on every file except mod_imagemap* (those 
were already in DOS format)
- get the zlib, and compile the LIB ASM project under projects/visualc6 
after having converted it to the new project format using the IDE
- copy the zlib.lib into the modules/filters directory
- edit the apr/build/win32ver.awk file and before the verc calculation, add:
  if (!ver_build)
    { ver_build = "0" }
   Otherwise the rc.exe resource compiler complains about malformed 
- run the build process using converted apache.dsw

Did I miss something on the site where all of this is(already) 


To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is ''.

Visit us at


Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.


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