Compiling NCSA httpd


To compile NCSA httpd, just take the following easy steps:

Retrieve the Source

First, download the
source. (Note: Some browsers will automatically uncompress the source for you) and use tar and uncompress to decode it.

e.g.: uncompress -c httpd_1.4.2_source.tar.Z | tar -xf -
or: tar -xf httpd_1.4.2_source.tar


Modify the makefiles

If you don't have a supported configuration, or if you want to change the default configuration, you are going to have to edit the Makefile in each of the three directories (support,src,cgi-src). The supported configurations only require typing make from the top level directory and then reading the instructions, picking a system, and typing make again. v1.4.2 supports the following systems in this fashion: The Makefiles in the support and cgi-src directories is fairly straight forward. The src directory is more fun. If your system is supported, uncomment the AUX_CFLAGS and EXTRA_LIBS line associated with it. There are defines available in src/Makefile for the following systems: SunOS, Solaris2, Irix, HP-UX, AIX3, AIX4, Ultrix, OSF/1, NeXT, Sequent, Linux, NetBSD, A/UX, SCO ODT, SCO SVR3.2, SVR4, Amdahl UTS 2.1, HP/Apollo Domain/OS, AT&T SVR3.2, and QNX 4.22.

If your system is not listed, you have to modify Makefile and the Unknown system section of httpd.h.


Later on in the installation, when you run httpd, you may see Night of the Living Dead on your machine, as defunct processes pile up and eventually bring it to a grinding halt. If you see this, you have the wrong setting of BSD.


[Back] Return to Installation Overview

[Next] Next step: Configuration


NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / Last Modified 6-22-95