On Fri, Feb 27, 2015 at 5:11 PM, Andy Wang <aw...@ptc.com> wrote: > On 02/27/2015 02:25 PM, Jeff Trawick wrote: > >> I'd start over, use only the CLI, and always invoke cmake from a script >> (e.g., .cmd file) that has the options you're using so you always know >> how you last ran it. >> >> Here's how I build apr-util: >> >> cd fresh build dir >> cmake -DCMAKE_INSTALL_PREFIX=c:\install-path -G "NMake Makefiles" >> -DCMAKE_BUILD_TYPE=RelWithDebInfo -DAPU_HAVE_CRYPTO=ON (other >> uninteresting options) c:\path-to-apr-util-sources >> >> > Before I continue, I'd like to say thanks for the help. The handful of > responses from you have really helped me focus quite a bit more on what to > look at for this and I appreciate it. > > That said, I'm an idiot. I jumped the gun and was trying to use openssl > 1.0.2. > > I switched to openssl 1.0.1l and it just worked. >
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 > > 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). > > But now I have openssl, pcre, apr, apr-util all figured out. zlib (which > doesn't have an install target - should be easy enough to figure out > manually) and httpd left to build. > FWIW, I don't have any issues building zlib 1.2.8 with its included cmake support, which results in a working "nmake install". > > Thanks again. > > Andy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Born in Roswell... married an alien... http://emptyhammock.com/