httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hc <>
Subject [users@httpd] Re: solved: help compiling apache 2.2.14 and openssl-0.9.8l using vs2008
Date Sat, 09 Jan 2010 18:43:49 GMT
correction: regarding needing to exclude zlib, that was apparently due
to an error
on my part. I have now gotten apache 2.2.14 to compile with openssl
0.9.8l and zlib.

So I am amending my instructions to these:
Yes you can compile apache 2.2.14 with openssl-0.9.8l and zlib
with vs2008 professional.
These instructions are correct but it's possible to trip on some details
in executing them.  So I am adding a bit more detail.

I have visual studio professional 2008 (v9) installed on 2003. and I
had windows sdk 7 installed, should this make a difference. I
'registered" sdk 7 with visual studio. I have no idea if that was
I did install this version of awk per the instructions.
I deleted some awk and gawk items from a cygwin install on this
I used this checksum program
I used the cygwin patch program.
I had the activestate perl version 5.8.9.

I used the visual studio 2008 tools, command prompt to do further work.
Having extracted the apache source somewhere (check checksum before extracting),

Download zlib to a directory somewhere., check checksum.
Create the directory zlib under the existing srclib directory in the
apache source. xcopy all the zlib-1.2.3 content to the srclib\zlib
directory. Being
in the srclib\zlib\win32 directory, download this patch:
Apply it:
patch -s < zlib-1.2.3-vc32-2005-rcver.patch
Then being above that directory, in the srclib/zlib directory,
issue these commands from the vs2008 command prompt:
nmake -f win32\Makefile.msc
nmake -f win32\Makefile.msc test

Download openssl-0.9.8l
to a directory somewhere
Check the checksum and gzip -d and tar -xvf .
Create a directory openssl under the already existing srclib directory.
Copy all the files from the subdirectory openssl-0.9.8l to the
srclib\openssl directory (eg using xcopy src dest /s/c ).
Download this patch to the srclib\openssl directory:
It works without modification. To apply, do this being in the
srclib\openssl directory:
patch -s < openssl-0.9.8k-vc32.patch

Then being in the srclib\openssl directory (this command has to be
customized for your situation:
[For comparison, the actual installed location of compiled zlib in my
case was e:\apachezlib\httpd-2.2.14\srclib\zlib]
perl Configure no-rc5 no-idea enable-mdc2 enable-zlib VC-WIN32
nmake -f ms\ntdll.mak

If you get link complaints about multiply defined items I think (but I
could be wrong) it probably means the zlib patch didn't get applied
I didn't tackle mod_dbd or mod_authn_dbm

And then one can proceed to the top source level and do:
nmake /f _apacher
and follow the rest of the instructions.

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