Installing CorVu dbCGI

Note: This documentation is somewhat brief. Somebody might like to write some more detailed instructions and submit them to patches-dbcgi@corvu.com.au

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:

3. You should now have a file of the same name as the argument you used to make (unless "make" failed, in which case you have some work to do to figure out why and fix the problem). Copy this file to your cgi-bin directory. You can now create dbCGI files in your htdocs directory and access them as:

        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.