Author |
|
bhavinshah
Joined: 16 Mar 2010 Posts: 3
|
Posted: Tue 16 Mar '10 13:13 Post subject: Apache 2.2.14 with Openssl 0.9.8l for 64 bit box |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 16 Mar '10 16:56 Post subject: |
|
|
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
|
Posted: Tue 23 Mar '10 10:33 Post subject: |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 23 Mar '10 11:38 Post subject: |
|
|
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. |
|
Back to top |
|
bhavinshah
Joined: 16 Mar 2010 Posts: 3
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 23 Mar '10 12:46 Post subject: |
|
|
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 |
|