Self-compilation of Apache on Windows

zhaozj2021-02-08  202

Brief description of self-compilation of Apache on Windows by HeartICY 2002.3.24

Compiling Apache on Windows requires VC 6.0, and it can be easily compiled with Apache and is quite high. The compilation method of Apache 2.0 is exactly the same.

The following is my compilation method. Quite simple and easy to understand.

Pick up Apache code from CVS:

Use TortoiseCVS on the Windows platform to do this. This work is very easy. You can find the downloaded connection from http://www.tortoisecvs.org/. Then install it.

Click Right-click to select Checkout. Fill in the following information in the pop-up menu.

Moudle: Apache-1.3

Protocol: Internet (UNIX PSERVER)

Server: cvs.apache.org

RepositPory Directory: / home / cvspublic

Username: CVSRead

If it is the Apache1.3 series, then the module has completed the part of the code, you can start compilation. If you are apache2.x, additional 2 modules (APR, APR-Util) are required, and they copy them into the SRCLIB directory of the Apache2.x source code.

Download Tools: http://cm.bell-labs.com/cm/cs/who/bwk/aw95.exe the awk utility

Place it to your path to the VC executable search path. If you use the Gawk in Cygwin, you need to change your name Gawk to awk, place it in another directory, and then copy CygWin1.dll to that directory. The AWK of itself exists in Cygwin as an individual name of Gawk, using that error, or after the rename is renamed.

Start compilation: (I like to use the GUI environment ...)

Came from: x: /xxx/apache-1.3/src Open Apache.dsw and open the build menu for Configurations, select Win32 Release under Installbin. Then start compilation, compiled files saved in the Apache directory under the X disk.

complete. It's really easy =)

转载请注明原文地址:https://www.9cbs.com/read-3250.html

New Post(0)