Apache 2.4.20 VC11

Started by gsimmons2882, April 28, 2016, 07:26:07 PM

Previous topic - Next topic

gsimmons2882

I was wondering if I could get Apache 2.4.20 VC11 32 bit with OpenSSL 1.0.2g, nghttp 1.9.2, Zlib 1.2.8 (mod_deflate), PCRE 8.38, APR 1.5.2, APR-Util 1.5.4, IPv6 and TLS SNI enabled before it was built because I need to configure before I use it for the company that I'm with.

DnvrSysEngr

GS:

What you are looking for can be found over at ApacheLounge:

     https://www.apachelounge.com/download/VC11/

Apache httpd 2.4.20 GA is now available here at the download pages.

For the ASF and Apachelounge changes over 2.4.18 (2.4.19 was not released)
see https://www.apachelounge.com/Changelog-2.4.html

Build with:
nghttp2 1.9.2
apr 1.5.2 with IPv6 enabled
apr-util 1.5.4 with Crypto OpenSSL enabled
apr-iconv 1.2.1
openssl 1.0.2g +asm
zlib 1.2.8 +asm
pcre 8.38 with JIT, SUPPORT_UTF8 and REBUILD_CHARTABLES enabled
httpd.exe with OPENSSL_Applink and VC14 SupportedOS Manifest
libxml2 2.9.3
lua 5.2.4 with LUA_COMPAT_ALL
expat 2.1.0

VC11 and VC14 versions do not run with XP and 2003, use the VC10 version.

gsimmons2882

I want one that hasn't been built yet not like the one apache lounge.

Gregg

One that hasn't been built yet? So you can configure it? Exactly what do mean by "configure"?

gsimmons2882

I need it in the state where I can have the apache.sln in the httpd-2.4.20 folder.

Gregg

Download the various sources
Build the non-ASF sources (OpenSSL, zlib, nghttp2, etc)

In VC11;
File -> Open -> Projects & Solutions -> select Apache24.dsw and say Yes to the conversion.
Once that's finished rename all the APR projects adding a -1 to the end of the names.
You should be good to go now.

Beginning with 2.4.20 there are command line .mak files for us to use also. They are pretty easy to use (I used these on our VC11 builds).

gsimmons2882

#6
I need the actual download like you get from the apache website but from you guys. I'm also running into a pcre problem because I'm puling it from earlier versions. I might have it fix if I could get the pcre for 2.4.20.

Gregg

Well, like I said, I used the .mak files to build the VC11 builds and have since we started VC11 builds so I do not have .sln/.vcxproj files. It's much quicker and less problematic for me after all we do multiple builds of each Apache release. As for the PCRE, you can use any version released in the past few years, we use 8.38. You cannot use PCRE2 version 10.x however, at least not yet.

gsimmons2882

How do you use .mak files to build. I usually use to build my apache by nmake /f makefile.win _buildr. Do you use a command in the command line prompt or do you use the Visual Studio IDE.

gsimmons2882

This is the error I'm getting when I try to build it. If this helps you figure what I'm doing wrong.

Creating Library .\Release\libhttpd.lib and object .\Release\libhttpd.exp
util_pcre.obj : error LNK2019: unresolved external symbol _pcre_exec referenced in function _ap_regexec_len@24
util_pcre.obj : error LNK2019: unresolved external symbol _pcre_fullinfo referenced in function _ap_regcomp_len@12
util_pcre.obj : error LNK2019: unresolved external symbol _pcre_compile2 referenced in function _ap_regcomp_len@12
util_pcre.obj : error LNK2001: unresolved external symbol __imp__pcre_free
.\release\libhttpd.dll : fatal error LNK1120: 4 unresolved externals

Gregg

Hmm, my vc11 pcre 32 bit used is here: https://www.apachehaus.net/pcre/pcre-8.38-x86-vc11.zip

I build it with CMake & the VC11 IDE (Using RelWithDebInfo)
CMake Options:

BUILD_SHARED_LIBS
INSTALL_MSVC_PDB
PCRE_BUILD_PCRE8
PCRE_BUILD_PCRECPP
PCRE_BUILD_PCREGREP
PCRE_REBUILD_CHARTABLES
PCRE_SUPPORT_BSR_ANYCLRF
PCRE_SUPPORT_UNICODE_PROPERTIES
PCRE_SUPPORT_UTF

Files & location needed by Apache for Release build:
srclib/pcre/LICENSE
srclib/pcre/pcre.dll
srclib/pcre/pcre.h
srclib/pcre/pcre.lib
srclib/pcre/pcre.pdb


As for Apache itself, on VC11 I always build on the command line and before 2.4.20 I used a set of .mak files that I generated (in VC6) and maintained myself.
nmake /f makefile.win instdir=\Apache24 installr

gsimmons2882

Thank you! I got it to build! :)

lordoftheflies

Quote from: gsimmons2882 on April 29, 2016, 09:30:00 PM
Thank you! I got it to build! :)

Yes thank you! Really helped me as well  ;D