Index of /Tools/SQLReport
sqlreport -- execute a query and report the results using a report template
Compile and install
===================
If you downloaded a .tar.gz file:
tar xvf sqlreport-0.1.tar.gz
cd sqlreport
./configure
make
make install
(Replace "0.1" with the correct version number.) See the file INSTALL
for more info.
If you downloaded the individual source files, you'll need to generate
the files configure and Makefile first. For that, you'll need the
autoconf/automake tools. Run:
autoreconf -i -s -v
and then configure and compile as above:
./configure
make
make install
Dependencies
============
This program uses ODBC. On Unix, you'll need either the unixODBC or
iODBC libraries and development files. Under Debian, install either
the package unixodbc-dev or libiodbc2-dev. Under Mac OS X, unixODBC
and iODBC are available in MacPorts. Other Unix distributions should
have similarly named packages. Or see http://www.unixodbc.org/ or
http://www.iodbc.org/
Depending on the database systems you use (MySQL, Postgress, Sqlite,
etc.), you'll also need to install the appropriate driver (i.e, shared
library) for that database. E.g., under Debian, the sqlite driver is
in a package called libsqliteodbc and the MySQL driver is in a package
called libmyodbc.