Return-Path: Mailing-List: contact apache-docs-help@apache.org; run by ezmlm Delivered-To: mailing list apache-docs@apache.org Received: (qmail 24162 invoked by uid 500); 19 Dec 2000 00:00:22 -0000 Delivered-To: apmail-httpd-docs-1.3-cvs@apache.org Received: (qmail 24157 invoked by uid 1134); 19 Dec 2000 00:00:21 -0000 Date: 19 Dec 2000 00:00:21 -0000 Message-ID: <20001219000021.24156.qmail@locus.apache.org> From: wrowe@locus.apache.org To: httpd-docs-1.3-cvs@apache.org Subject: cvs commit: httpd-docs-1.3/htdocs/manual win_compiling.html wrowe 00/12/18 16:00:21 Modified: htdocs/manual win_compiling.html Log: Document the use of awk and other minor changes. Remove the language about copying files that are now handled by InstallBin.dsp/Makefile.win. Revision Changes Path 1.8 +23 -28 httpd-docs-1.3/htdocs/manual/win_compiling.html Index: win_compiling.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/win_compiling.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- win_compiling.html 2000/12/13 15:54:04 1.7 +++ win_compiling.html 2000/12/19 00:00:20 1.8 @@ -21,14 +21,29 @@ before you begin.

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.

@@ -73,7 +88,9 @@ Apache.dsw, is provided in the 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***);

- - -

(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.