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: libhttpd VC++ 2005 - fatal error Page Previous  1, 2
Author
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Wed 19 Jul '06 19:35    Post subject: Reply with quote

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

PostPosted: Wed 19 Jul '06 20:51    Post subject: Reply with quote

I'll give it a shot.

Let me a bit to pull it together.
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Wed 19 Jul '06 20:53    Post subject: Reply with quote

mphare,

Thanks, It will greatly appreciated.
Back to top
mphare



Joined: 12 May 2006
Posts: 43
Location: Texas

PostPosted: Wed 19 Jul '06 21:20    Post subject: Reply with quote

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: 3094
Location: Hilversum, NL, EU

PostPosted: Thu 20 Jul '06 20:18    Post subject: Reply with quote

There is also a guide at http://www.apachelounge.com/viewtopic.php?t=103

Maybe to combine it.

Steffen
Back to top
ali_fareed



Joined: 04 Jul 2006
Posts: 61
Location: Bahrain

PostPosted: Fri 21 Jul '06 18:32    Post subject: Reply with quote

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


Reply to topic   Topic: libhttpd VC++ 2005 - fatal error View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads Page Previous  1, 2