httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Wang <>
Subject Re: [users@httpd] building httpd 2.4 on windows x64
Date Mon, 02 Mar 2015 16:51:24 GMT
On 02/28/2015 06:26 AM, Jeff Trawick wrote:
> Weird...  I built with some OpenSSL 1.0.2 betas without problems, always
> like this:
> OPENSSL_BUILDDIR        := $(TOP_BUILDDIR)\openssl
> OPENSSL_CONFIGURE_OPTS  := no-asm --prefix=$(PREFIX) VC-WIN64A
> cd $(OPENSSL_BUILDDIR) && gzip -dc
> $(DOWNLOADS)\openssl-$(OPENSSL_VER).tar.gz | tar -xf -
> cd $(OPENSSL_BUILDDIR)\openssl-$(OPENSSL_VER) && perl Configure
> cd $(OPENSSL_BUILDDIR)\openssl-$(OPENSSL_VER) && ms\do_win64a.bat
> cd $(OPENSSL_BUILDDIR)\openssl-$(OPENSSL_VER) && nmake /f ms\ntdll.mak
> cd $(OPENSSL_BUILDDIR)\openssl-$(OPENSSL_VER) && nmake /f ms\ntdll.mak test
> cd $(OPENSSL_BUILDDIR)\openssl-$(OPENSSL_VER) && nmake /f ms\ntdll.mak
> install

Yeah, I tested this multiple times and as soon as I go with openssl 
1.0.2 I got the same apr-util configuration error.

>     I did find another problem.  I decided to try cmake 3.1.3 too just
>     to see.  Its generated Makefiles for apr didn't build apr-1.pdb.
>     Backed down to and all good.
>     So something is broken there.
> Possibly I will have time to play with those further (possibly not).

I had other problems with anything newer than pcretest was 
crashing with a stack overflow (some googling seemed to imply this was a 
link option issue with stack size).  Occurred with, 3.0.2 and 
3.1.3.  It didn't occur with so I just stuck with that.  Not an 
httpd problem, but I thought I'd mention it.

> FWIW, I don't have any issues building zlib 1.2.8 with its included
> cmake support, which results in a working "nmake install".

Yeah, I discovered after my last message that zlib had cmake support. 
It's broken for AMD64 option, but I found a patch on on the zlib git 
repo that fixed it.

This is nice, I now have a fully scripted windows httpd build along with 
all of it's dependencies openssl, zlib, pcre, apr and apr-util.

Is it wrong that the build script is a .sh script running under cygwin? :)

This is awesome.  Once again thanks so much for the the help and pushes 
in the right direction.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message