logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Apache httpd_2.4.23 building with Visual Studio 2008 VC9 x86

 
Post new topic   Reply to topic    Apache Forum Index -> Apache Building & Member Downloads



View previous topic :: View next topic  
Author Message
meet2sanjay



Joined: 30 Dec 2011
Posts: 35
Location: GURGAON, INDIA

PostPosted: Wed 13 Jul '16 14:43    Post subject: Apache httpd_2.4.23 building with Visual Studio 2008 VC9 x86 Reply with quote

Hi All,
I just want to build httpd2.4.23 with visual studio 2008 SDK v6.0A

I have some queries:
Is it possible to build it with VS2008?
If yes what are the steps.
I cannot use the pre-build pcre files. I need to build myself.
I have googled and found, to build PCRE we need cmake.
I tried but still having issue. Here is the link of log file:
http://www.hastebin.com/nemezimine.lua OR
http://apaste.info/VRL

It shows follwoing header file is missings:
direnth.h
stdint.h
inttypes.h
sys/stat.h
unistd.h
windows.h
include type_traits.h
include bits/type_traits.h
bcopy
strtoll
strtoq

Does it compulsory to include libxml2 and lua in srclib?
Currently i am using following in srclib:
apr
apr_iconv
apr_util
openssl
pcre
zlib

It will really helpful.
Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6225
Location: Germany, Next to Hamburg

PostPosted: Fri 22 Jul '16 0:39    Post subject: Reply with quote

it has been a while
here something from my old cook book from a long time ago. MOst stuff I've learned from Gregg. Thanks for that!

Code:

unpack httpd-2.4.3.tar.gz to C:\build\2.4.3
unpack httpd-2.4.3-deps.tar.gz to C:\build\2.4.3
unpack apr-iconv-1.2.1.tar.gz to C:\build\2.4.3\srclib\apr-iconv
unpack openssl-1.0.1c.tar.gz and C:\build\2.4.3\srclib\openssl
unpack zlib-1.2.7.tar.gz C:\build\2.4.3\srclib\zlib
unpack pcre-8.20.zip C:\build\2.4.3\srclib\pcre


command line
cd C:\build\2.4.3
srclib\apr\build\lineends.pl
srclib\apr\build\cvtdsp.pl -2005


cd srclib\zlib
nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"
MT -manifest zlib1.dll.manifest -outputresource:zlib1.dll;2

cd ..\..\srclib\openssl
perl Configure VC-WIN32 --prefix=/Apache24 --openssldir=/Apache24/conf enable-camellia disable-idea
ms\do_nasm
nmake /f ms\ntdll.mak


Open Apache.dsw with VS8/VS9 and answer "Yes to All" to the "convert projects" question
Select relase win32

Now build InstallBin
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 785
Location: Amsterdam, NL, EU

PostPosted: Fri 22 Jul '16 16:23    Post subject: Reply with quote

Apache: 2.4.23 ...
Zlib: why not 1.2.8?
Openssl: at least 1.0.1t
Pcre: 8.39?
Will this build pcre with JIT, SUPPORT_UTF8 and REBUILD_CHARTABLES enabled?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6225
Location: Germany, Next to Hamburg

PostPosted: Mon 01 Aug '16 16:24    Post subject: Reply with quote

As I wrote above that is very old. I did just a copy and paste from an old text file Wink
Sure that the libs h ave newer versions now. Rolling Eyes
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6225
Location: Germany, Next to Hamburg

PostPosted: Mon 01 Aug '16 16:29    Post subject: Reply with quote

Jan-E wrote:

Will this build pcre with JIT, SUPPORT_UTF8 and REBUILD_CHARTABLES enabled?


IIRC You can configure that in the GUI. Steffen and Gregg must know Wink
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache Building & Member Downloads
Page 1 of 1