By default, cgihtml assumes you are installing on a Unix machine with the CGI source code going in a cgi-src directory and the binaries in a cgi-bin directory.
To unpack the distribution, you must first gunzip it (using the GNU gzip utility) and then untar it. Copy the distribution into your CGI source directory, and try the following commands:
% gzip -d cgihtml-1.1.tar.gz % tar -xvf cgihtml-1.1.tar
% make cgihtml.aThis will produce the file cgihtml.a. To compile the library as well as all of the example programs, type:
% make all
If you are attempting to port this library to a non-Unix system, you may want to remove the die() routine from cgi-lib.c and cgi-lib.h. This is a Unix-specific function.