To build from the CVS archive, run the following command
make -f Makefile.cvs
This will build the configure script.
To build from CVS, you need some current tools, these are what we recommend:
- automake 1.5
- libtool 1.4.2
These can be found from the GNU web site or its
many mirrors.
Make the Libraries and
Programs
The install now uses the standard
GNU autoconf process. So its simply a matter of running
./configure
make
make install
By default the files are installed into /usr/local. As is
usual with configure, this location can be changed by altering the
prefix option to configure. i.e.
./configure --prefix=/usr/local/unixODBC
This will install the lib, bin, include and etc directories
in /usr/local/unixODBC/lib etc.
To conform with the GNU guidelines the odbcinst file is now
installed by default in {prefix}/etc, this can be altered using
the --sysconfdir option to configure. To install the files in the
old default /etc you would run configure like this
./configure --sysconfdir=/etc
The script will attempt to find the directories that are needed
for the GUI components, and if they are not found (i.e. you haven't
installed QT) the build will continue without the GUI parts.
Dependencies
The GUI components ( ODBCConfig
and DataManager ) require
Qt 2.2.
The SQI library requires flex and
yacc to parse the SQL statement.
The entire distribution depends
upon having many of the standard development tools installed such
as a C/C++ compiler (currently testing is with egcs). Also; the
development platform is mostly RedHat Linux 5.1 with compiler
upgrades (to be compatible with RedHat 5.2).
Finally
Everyone should take a look at
the README and INSTALL files.
If you still have problems then it is likely our fault so just
send an email
and I will see what I can do.