httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hc <>
Subject [users@httpd] solved: help compiling apache 2.2.14 and openssl-0.9.8l using vs2008
Date Sat, 09 Jan 2010 03:58:13 GMT
Well if you can avoid zlib, you can compile apache 2.2.14 with
openssl-0.9.8l with vs2008.
Basically these instructions are correct _except_  leave out zlib or
you're  going to have to know a lot about compiling, linking and make
files because something doesn't get along

Here's what I did. (This is for any newbies if any out there. I hope I
don't insult the
expertise of the many people on this list who probably know way way
more than I do.)

I have visual studio professional 2008 (v9). 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 necessary.
I did install this version of awk per the instructions.
and deleted some awk and gawk items from a cygwin install on this
machine. (which
was btw 2003 should that make a difference.)

I used the visual studio 2008 tools, command prompt to do further work.
Having extracted the apache source somewhere, create a directory
openssl under the
already existing srclib directory. Elsewhere, download openssl-0.9.8l
and gzip -d and
tar -xvf . 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
(I was using the cygwin patch program).

Here's where I depart from the instructions and leave out zlib:
perl Configure no-rc5 no-idea enable-mdc2 VC-WIN32
nmake -f ms\ntdll.mak

and that actually did work and compile it openssl! Whereas with zlib
in the loop one
can have a world of issues about duplicate definitions. It is perhaps
a problem with
linker options regarding threading/debug or not but I sure couldn't
figure it out.
I also didn't tackle mod_dbd or mod_authn_dbm

And then one can proceed to the top source level and do:
nmake /f _apacher

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