The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Apache 2.4.20 VC11  (Read 3362 times)

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Apache 2.4.20 VC11
« on: April 28, 2016, 07:26:07 PM »

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.
Logged

DnvrSysEngr

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 80
Re: Apache 2.4.20 VC11
« Reply #1 on: April 28, 2016, 08:37:11 PM »

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.
Logged

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: Apache 2.4.20 VC11
« Reply #2 on: April 28, 2016, 08:53:54 PM »

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

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 828
Re: Apache 2.4.20 VC11
« Reply #3 on: April 28, 2016, 09:57:57 PM »

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

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: Apache 2.4.20 VC11
« Reply #4 on: April 28, 2016, 10:11:50 PM »

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

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 828
Re: Apache 2.4.20 VC11
« Reply #5 on: April 28, 2016, 10:37:25 PM »

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).
Logged

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: Apache 2.4.20 VC11
« Reply #6 on: April 28, 2016, 11:15:22 PM »

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.
« Last Edit: April 29, 2016, 12:06:37 AM by gsimmons2882 »
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 828
Re: Apache 2.4.20 VC11
« Reply #7 on: April 29, 2016, 03:51:26 AM »

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.
Logged

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: Apache 2.4.20 VC11
« Reply #8 on: April 29, 2016, 03:17:03 PM »

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.
Logged

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: Apache 2.4.20 VC11
« Reply #9 on: April 29, 2016, 03:48:23 PM »

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
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 828
Re: Apache 2.4.20 VC11
« Reply #10 on: April 29, 2016, 07:29:30 PM »

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
Logged

gsimmons2882

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: Apache 2.4.20 VC11
« Reply #11 on: April 29, 2016, 09:30:00 PM »

Thank you! I got it to build! :)
Logged

lordoftheflies

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Re: Apache 2.4.20 VC11
« Reply #12 on: July 11, 2016, 01:48:36 AM »

Thank you! I got it to build! :)

Yes thank you! Really helped me as well  ;D
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13