Having to build openssl into another location defeats that purpose. Kind of like how the current visual studio build process does it. The problem with your idea of putting openssl somewhere else is I'd really need to build a self-contained redistributable apache, including all the dependencies. The README.cmake documentation is pretty clear that cmake doesn't use the srclib mechanism but instead relies on the dependencies needing to be built and installed. Posted: Fri 27 Feb '15 1:01 Post subject: This way I can easily switch from building for x86 and 圆4 without recompiling open ssl every time. Mklink /D openssl \openssl\opensslvc11.圆4 I always put the wanted version of opensll below srclib with a batch file containing Probably CMake will find it there.įor a Windows newbie: Win7+ is capable of making directory symlinks. If the directory tree below srcdir does not work, just put openssl in C:\openssl. Maybe CMake uses the same directory tree.įWIW: CMake happens to be quite clever at finding openssl: it once found my Openssl in \OpenSSL\Win32\1_0_1i. That is the way it works with the makefiles. Openssl should be compiled, with filled subdirs openssl\out32 and openssl\out32dll. Posted: Fri 27 Feb '15 0:37 Post subject: Re: Building Apache 2.4.12 Windows 圆4 with cmakeīelow the Apache build directory there should be a subdir srclib with subdirectories: apr, apr-iconv, apr-util, openssl, pcre and zlib. I've tried to set OPENSSL_ROOT_DIR environment variable and tried passing it in as -DOPENSSL_ROOT_DIR and that hasn't worked. I have no idea how to get the thing to find my openssl that's in C:/Apache24 : c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/amd64/cl.exeĪPR include directory. I've set APR_INCLUDE_DIR and APR_LIBRARIES to point to the C:/Apache24 location, but cmake still complains:ĬMake Error at C:/bin/cmake/share/cmake-2.8/Modules/FindOpenSSL.cmake:278 (list):ĬMake Error at C:/bin/cmake/share/cmake-2.8/Modules/FindOpenSSL.cmake:279 (list):ĬMake Error at C:/bin/cmake/share/cmake-2.8/Modules/FindOpenSSL.cmake:281 (list):ĬMake Error at C:/bin/cmake/share/cmake-2.8/Modules/FindOpenSSL.cmake:283 (list):īuild type. Looking at the previous projects I was thinking I could manually copy the lib, dll/pdb and h files to the various directories under C:/Apache24 - skipped this for now though.Ĥ) used cmake and nmake to build apr and installed to C:/Apache24ĥ) trying to use cmake to configure apr-util. However, zlib has no install target so I have no idea how to install it. To C:/Apache24 to install the openssl files into C:/Apache24Ģ) used cmake and nmake to build pcre and installed to C:/Apache24ģ) compiled zlib using nmake. I'd like to build a single deployable bundle (similar too the way the visual studio projects for apache builds) so I've done the following: I'm trying to build a 64-bit Apache 2.4.12 with zlib, openssl, pcre, apr, and apr-util. Posted: Thu 26 Feb '15 22:15 Post subject: Building Apache 2.4.12 Windows 圆4 with cmakeĭisclaimer: Windows build newbie here. Topic: Building Apache 2.4.12 Windows 圆4 with cmake Forum Index -> Building & Member Downloads
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |