Before compiling dbCGI, you will need to ensure that you have the products required to access dynamic SQL from the C language. For Informix and Progress, this means the "ESQL/C" products. For Sybase, this means the Sybase dbLibraries.
1. Edit the Makefile and modify the variables to reflect your installation. If you change "CC" to something other than GNU C and you are not using a system where GNU C is the bundled compiler (notably DGUX/88Open, 386BSD, NetBSD, Linux), comment out the "GLIBS" line.
2. Type one of the following commands:
make dbqdbcgi (For DBQ)
make infdbcgi (For Informix)
make ingdbcgi (For Ingres)
make ora6dbcgi (For Oracle 6)
make ora7dbcgi (For Oracle 7)
make prodbcgi (For Progress)
make sybdbcgi (For Sybase)
http://hostname/cgi-bin/sybdbcgi/filename
where hostname is your host name, you replace sybdbcgi with the name of the dbCGI program for your database, and filename is the name of the dbCGI file relative to the htdocs directory.