Re: building httpd 2.4 on windows x64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

mkdir $(OPENSSL_BUILDDIR)
cd $(OPENSSL_BUILDDIR) && gzip -dc
$(DOWNLOADS)\openssl-$(OPENSSL_VER).tar.gz | tar -xf -
cd $(OPENSSL_BUILDDIR)\openssl-$(OPENSSL_VER) && perl Configure
$(OPENSSL_CONFIGURE_OPTS)
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 2.8.10.2 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 2.8.10.2. pcretest was crashing with a stack overflow (some googling seemed to imply this was a link option issue with stack size). Occurred with 2.8.12.2, 3.0.2 and 3.1.3. It didn't occur with 2.8.10.2 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.
https://github.com/mastermind-/zlib/commit/3d1dd53460e146502a77019a35de79a78ccbea74

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.

Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux