Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: libhttpd VC++ 2005 - fatal error |
Page Previous 1, 2 |
Author |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Wed 19 Jul '06 19:35 Post subject: |
|
|
Kanashii,
Good to hear have it going more than anything else...
If worse comes to worse. I will piece together and confirm via install of VC++ Express on a fresh PC. Then let people review for accuracy.
Good luck with the Housekeeping
..
. |
|
Back to top |
|
mphare
Joined: 12 May 2006 Posts: 43 Location: Texas
|
Posted: Wed 19 Jul '06 20:51 Post subject: |
|
|
I'll give it a shot.
Let me a bit to pull it together. |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Wed 19 Jul '06 20:53 Post subject: |
|
|
mphare,
Thanks, It will greatly appreciated. |
|
Back to top |
|
mphare
Joined: 12 May 2006 Posts: 43 Location: Texas
|
Posted: Wed 19 Jul '06 21:20 Post subject: |
|
|
Here's the steps as I remember them (I hope I have them all) If someone tries this on a virgin system and it fails, let me know and I'll try to remember what step I might have left out.
Quote: | Compile Apache 2.2.2 using VC++ 2005 Express
I installed both the Platform SDK and VC++ 2005 Express.
I have Cygwin installed.
I have Active Perl installed.
VC2005 base dir := <VC2005> as
C:\Program Files\Microsoft Visual Studio 8
PlatforSDK base dir := <PlatformSDK> as
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2
Copy gawk.exe to awk.exe in Cygwin's bin directory.
Copy the bin, lib and include directories from the SDK into a subdir
under the compiler's VC directory. To do this Created a subdir called
'PlatformSDK' as <VC2005>\VC\PlatformSDK and copy
<PlatformSDK>\bin to <VC2005>\VC\PlatformSDK\bin
<PlatformSDK>\lib to <VC2005>\VC\PlatformSDK\lib
<PlatformSDK>\include to <VC2005>\VC\PlatformSDK\include
Run vcvarsall.bat in <VC2005>\VC and note all the settings it makes
($INCLUDE, $LIB values). Make these changes to the XP environment
so you don't have to run the BAT file each time you open a command
prompt.
Be sure to also add the directories you copied from the PlatformSDK to the environment variables..
In <VC2005>\VC\VCProjectDefaults, edit the file corewin_express.vsprops.
Replaced the line:
AdditionalDependencies="kernel32.lib"
to read:
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
(thanks Kaneshi)
Follow the directions on the Apache site to build both OpenSSL and zLib.
Now, you should be able to build BuildBin in the IDE or from the command
line using: NMAKE /F MAKEFILE.WIN _apacher
If you build from the command line you'll need to attache the manifest's
to the EXE manually. Create the menifest file called apache.manifest as
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
Then add it to the resource using
mt.exe -manifest apache.manifest -outputresource:httpd.exe;1
mt.exe -manifest apache.manifest -outputresource:apachemonitor.exe;1
(thanks maniac)
If you build in the IDE the manifests are included as part of the build
process and this step is not necessary.
Now build InstallBin from the IDE or NMAKE /F MAKEFILE.WIN installr from the command line to deploy 2.2.2 to the final location.
|
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
ali_fareed
Joined: 04 Jul 2006 Posts: 61 Location: Bahrain
|
Posted: Fri 21 Jul '06 18:32 Post subject: |
|
|
thank you so much kanashii I finally built apache on my own. I dont know how I didnt see that page when I installed the platform SDK. |
|
Back to top |
|
|
|
|
|
|