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: Apache 2.2.14 with Openssl 0.9.8l for 64 bit box
Author
bhavinshah



Joined: 16 Mar 2010
Posts: 3

PostPosted: Tue 16 Mar '10 13:13    Post subject: Apache 2.2.14 with Openssl 0.9.8l for 64 bit box Reply with quote

Hi Jorge,

This is Bhavin shah and I need your help for below mentioned queries:
I found apache 2.2.15 binaries for 64 bit and also steps to make my own binaries but for that which source I have to use.
Means any 64 box's source is available or I have to pick 32 bit's windows source and follow mentioned steps to create my own binaries.

I need to compile apache with openssl 0.9.8l on 64 box, so if you have any idea please let me know.

Thanks in advance,
Bhavin
Back to top
James Blond
Moderator


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

PostPosted: Tue 16 Mar '10 16:56    Post subject: Reply with quote

Hi Bhavin,
you can use the Win32 Source from http://httpd.apache.org/download.cgi
That is is source code I use to compile apache in 64 bit.

Compiling openssl is very easy. Open the Visual Studio 2008 Command Prompt x64.

Code:

cd srclib\openssl
perl Configure VC-WIN64A --prefix=/Apache22 --openssldir=/Apache22/conf enable-camellia disable-idea
ms\do_win64a

REMOVE all bufferoverflowu.lib from the ms/ntdll.mak file
That is not more needed in openssl 0.9.8m
Code:

nmake -f ms\ntdll.mak

ms\test.bat remove md2 and idea test
Code:

nmake -f ms\ntdll.mak test
Back to top
bhavinshah



Joined: 16 Mar 2010
Posts: 3

PostPosted: Tue 23 Mar '10 10:33    Post subject: Reply with quote

Hi james,

Thanks for quick response and also apologizes for not giving you reply immediately.
I need one more help as our initial plan got changed and we need to focus on Linux 64 bit box.
Is there any source code available of Apache 2.2.14 or 2.2.15 for Linux 64 bit box?
If I need to compile mentioned version of Apache on linux 64 bit box then what would be the steps and which source code I have to use.

Same questions for OpenSSL.

Thanks in advance,
Bhavin
Back to top
James Blond
Moderator


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

PostPosted: Tue 23 Mar '10 11:38    Post subject: Reply with quote

In most linux distros you can install apache over an installer like apt-get or yum. The advantage of the package from your distro is that you don't have to compile apache every time if there is an security fix.

If you realy want to compile apache yourself:
download Unix Source from http://httpd.apache.org/download.cgi
unpack it. Download the openssl source code from http://www.openssl.org/source/ . Unpack it rename the folder to openssl. Move that folder into httpd-2.2.15/srclib. Run the ./configure script in the openssl folder and than make.
Download zlib 1.2.4 from http://www.zlib.net/. Unpack it. rename the folder to zlib. Move it also into the srclib folder. Run the ./configure --64 script in the zlib folder and than make.
The rest of how to compile apache see the manual http://httpd.apache.org/docs/2.2/install.html

it is recommend to run /configure --help to see all options.

I guess there are better tutorials how to compile apache than this short one. Wink
Back to top
bhavinshah



Joined: 16 Mar 2010
Posts: 3

PostPosted: Tue 23 Mar '10 11:54    Post subject: Reply with quote

Hi James,

Is there any difference in source code of apache for linux 32 bit and 64 bit?
Reason why i am confused is, neither apache nor openSSL mentions explicitly anything for 64 bit source code.
So can I use source code available at below location.
http://www.reverse.net/pub/apache/httpd/httpd-2.2.15.tar.gz
http://www.openssl.org/source/openssl-0.9.8m.tar.gz

Thanks,
Bhavin
Back to top
James Blond
Moderator


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

PostPosted: Tue 23 Mar '10 12:46    Post subject: Reply with quote

The apache source code package and the OSSL source code package contain the 32bit and 64 bit components. The configure script checks your system if it is 64 bit or 32 bit and which compilers are available.
Back to top


Reply to topic   Topic: Apache 2.2.14 with Openssl 0.9.8l for 64 bit box View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads