Return-Path:
Compiling Apache requires Microsoft Visual C++ 5.0 or 6.0 to be properly - installed. It can be built with command-line tools, or within the + installed. It can be built with command-line tools, or within the Visual Studio environment. Consult the VC++ manual to determine how to install them. Be especially aware that the vcvars32.bat file from the Program Files/DevStudio/VC/bin folder, and the setenv.bat file from the Platform SDK may be required to prepare the command-line tools - for command-line builds (e.g. using nmake).
+ for command-line builds (e.g. using nmake). To install apache with the + Makefile.win or the InstallBin project in the Visual Studio IDE, the + awk utility is also required. + +First, you should install awk.exe where it can be found in the path and + the DevStudio environment, if you plan to use the IDE. There are many + versions of awk available for Windows, the easiest to install is available + from Brian Kernighan's http://cm.bell-labs.com/cm/cs/who/bwk/ site. When downloading + site http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe from this site, + you must save it with the name awk.exe rather than awk95.exe.
+ +Note that DevStudio will only find awk.exe from the Tools menu + Options... Directories settings of the Executable files. Add + the path for awk.exe to this list, as needed.
-First, unpack the Apache distribution into an appropriate +
Then unpack the Apache distribution into an appropriate
directory. Open a command-line prompt, and change to the
src
subdirectory of the Apache distribution.
src
folder. 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.
+ the projects to assure that they are built in the appropriate order.
+ InstallBin is the top-level project that will build all other projects,
+ and install the compiled files into their proper locations.
These .dsp project files are distributed in Visual C++ 6.0 format. Visual C++ 5.0 (97) will recognize them with the single exception of the /ZI flag, @@ -188,30 +205,8 @@ 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.
- -Before running the server you must fill out the conf directory. Copy the - *.conf-dist-win from the distribution conf directory and rename them to - *.conf. You will need to copy over the conf/magic and conf/mime.types - files as well. In order to serve documents you will need to create a - htdocs\index.html or just copy over the standard Apache ones (This is a - good idea as then you get the full Apache documentation on line). If you - have previously run Apache from the c:\ServerRoot directory then please make - sure you backup any files you wish to retain or only copy the files you want - replaced. The following commands will copy all the required files to your - c:\ServerRoot directory (***over-writing any that were there***);
- -xcopy ..\conf\*.conf-dist-win c:\ServerRoot\conf\*.conf
-xcopy ..\conf\magic c:\ServerRoot\conf\
-xcopy ..\conf\mime.types c:\ServerRoot\conf\
-xcopy ..\htdocs\*.* c:\ServerRoot\htdocs\ /s
-(adjust these so c:\ServerRoot matches the INSTDIR used above.)
- -Change the @@ServerRoot@@ entries in c:\ServerRoot\conf\httpd.conf - to your actual server root (for example "c:/ServerRoot" Note: you - must use forward slashes in Apache configuration files!)
+ (..) from the src tree. Modify the InstallBin settings and edit + the INSTDIR=.. entry to the desired target directory.