logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Compiling Apache 64 bit
Author
TopGun



Joined: 18 Dec 2009
Posts: 3

PostPosted: Mon 21 Dec '09 17:46    Post subject: Compiling Apache 64 bit Reply with quote

I am a newbie at this so detailed instructions will be much appreciated. I have trying to build Apache 2.2.4 for the past week and have been unsuccessful so far. I have installed VS 2005 but have been getting numerous errors about the following in the command line mode

cl .\server\gen_test_char.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

gen_test_char.c
.\server\gen_test_char.c(17) : fatal error C1083: Cannot open include file: 'apr
.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.

I have installed gawk and included it in my environment variable path so I am perplexed as to how to go on from here.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 21 Dec '09 20:52    Post subject: Reply with quote

because this custom build step is obviously not happening. That is provided apr is there in the first place.

type .\include\apr.hw > .\include\apr.h

To make sure though, take a look in httpd-2.2.4/include
you should see it in there. If not, then is apr.hw there?
If it is, just rename it, if it's not .. there are deeper problems.

I am unfamiliar with VC2005 and do not have x64.
gawk.exe should be renamed awk.exe if it isn't.
I forsee other problems you will possibly encounter further into the build, specifically apr_dbd_ocdb, mod_deflate, mod_ssl and abs.exe.

but let's back up a bit.
Why 2.2.4 ... that's pretty old ... why not 2.2.14, or was that a typo.
Is it Win32 sources or unix (you can build Win32/64 from the unix ones, just more steps)

From my understanding (tho this may have changed) building Apache on x64 is difficult at best, down right ugly at worst.


may not hurt to digest these;

http://www.apachelounge.com/viewtopic.php?t=276
http://www.apachelounge.com/viewtopic.php?t=785
http://www.apachelounge.com/viewtopic.php?t=2095
Back to top
James Blond
Moderator


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

PostPosted: Tue 22 Dec '09 11:04    Post subject: Re: Compiling Apache 64 bit Reply with quote

TopGun wrote:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86


I wonder a bit about the 32-bit note from the compiler. Are you realy using a 64-bit Visual Studio?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 28 Dec '09 6:53    Post subject: Reply with quote

good eye .. I missed that
Back to top


Reply to topic   Topic: Compiling Apache 64 bit View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads