From: Roy T. Fielding
First, unpack the Apache distribution into an appropriate
- directory. Open a command-line prompt, and change to the
- src
subdirectory of the Apache distribution.
The master Apache makefile instructions are contained in the
Makefile.win
file. To compile Apache on Windows, simply
@@ -45,7 +44,7 @@
Apache can also be compiled using VC++'s Visual Studio development environment. To simplify this process, a Visual Studio workspace, - Apache.dsw, is provided in the src folder. This workspace exposes + Apache.dsw, is provided. This workspace exposes the entire list of working .dsp projects that are required for the complete Apache binary release. It includes dependencies between the projects to assure that they are built in the appropriate order.
@@ -55,7 +54,7 @@ VisualStudio 5.0 (97) but you must first use the perl script command:- cd src\helpers + cd srclib\apr\build cvstodsp5.pl@@ -63,7 +62,7 @@ however VisualStudio 97 in particular will not recognize the /ZI flag to the C compiler for the debugging mode. This script toggles the new /ZI flag back to /Zi for Debug builds, among other adjustments. - The converse script in
src/helpers/dsp5tocvs.pl
will
+ The converse script in srclib\apr\build\dsp5tocvs.pl
will
reverse the adjustments, and we ask you to do so before submitting
patches against any .dsp project files.
@@ -71,13 +70,13 @@
.dsp projects of the Apache server in the following sequence:
lib\apr\aprlib.dsp
- lib\apr\aprlibdll.dsp requires aprlib
- lib\pcre\dftables.dsp
- lib\pcre\pcre.dsp requires dftables
- lib\pcre\pcreposix.dsp requires dftables and pcre
- lib\expat-lite\xmltok.dsp
- lib\expat-lite\xmlparse.dsp requires xmltok
+ srclib\apr\aprlib.dsp
+ srclib\apr\aprlibdll.dsp requires aprlib
+ srclib\pcre\dftables.dsp
+ srclib\pcre\pcre.dsp requires dftables
+ srclib\pcre\pcreposix.dsp requires dftables and pcre
+ srclib\expat-lite\xmltok.dsp
+ srclib\expat-lite\xmlparse.dsp requires xmltok
main\gen_uri_delims.dsp
main\gen_test_char.dsp
ApacheCore.dsp requires all of the above
@@ -151,7 +150,7 @@
are defined in the Microsoft VisualStudio workspace file:
- src/Apache.dsw + Apache.dsw
This assures that lower-level sources are rebuilt from within @@ -159,8 +158,7 @@ Makefile.win to move the compiled executables and dlls. You may personalize the INSTDIR= setting by changing the Settings for InstallBin, Build command line entry under the General tab. - The default from within the InstallBin.dsp project is one level up - (..) from the src tree.
+ INSTDIR defaults to the same directory as the httpd source.Warning about building Apache from the development tree