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:
- aux - Apple Unix A/UX
- aix3 - IBM AIX 3.2.x
- aix4 - IBM AIX 4.1.x
- sunos - Sun SunOS 4.1.x (aka Solaris 1.x)
- solaris - Sun Solaris 2.x (aka SunOS 5.x)
- sgi4 - Silicon Graphics IRIX 4.x
- sgi5 - Silicon Graphics IRIX 5.x
- decmips - DEC Mips based systems (Ultrix)
- decaxp - DEC Alpha based systems (OSF)
- hp-gcc - HP-UX 9.x machines using gcc
- hp-cc - HP-UX 9.x machines using HP cc
- netbsd - NetBSD systems
- linux - Linux systems
- svr4 - System 5 Release 4 systems
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.