You will have to fullfill some system requirements to successfully
compile and install genSQL:
- GCC/G++ 2.95.2 or higher. Available from your distribution or
- GNU Automake, Autoconf and Libtool
- Gtk--/Gnome-- 1.1.8. Get the
source package or visit the
- The SQL interface library GQL.
- You also need libsigc++,
used by all of genSQL, GQL and Gtk--/Gnome--.
Once you successfully compiled and installed all the above resources,
you should be ready to get the genSQL Sources from it's
Sourceforge download page.
The compilation and installation follow the standard scheme:
The only things you should pay attention to are:
./make install # do this as root
- Having all libraries and tools genSQL requires properly
Normally this is quite straightforward, but there is (at least ;-))
one thing that is likely to cause trouble: Having
distribution-installed Gtk/Gnome libs in
the Gtk-- libs compiled from source, installed in
This results in an error like "unknown library 'gnomemm'", and is
caused by gnome-config, which was installed by the distribution
and therefore doesn't know about the gnomemm library in
/usr/local. The solution is to back up
/usr/lib/gnomemmConf.sh and replace it with the config
gnomemm config script rom the gtkmm package:
mv /usr/lib/gnomemmConf.sh /usr/lib/gnomemmConf.sh.orig
cp /usr/local/lib/gnomemmConf.sh /usr/lib/gnomemmConf.sh
'gnome-config --libs gnomemm' should give you:
-rdynamic -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lgnomemm
-lgtkmm -lgdkmm -lsigc -lpthread
The right configure flags.
That is not too important (plain
./configure should work),
but you might want to use '--disable-static' to shorten compile time
and '--enable-debug' for debugging symbols.
If you encounter any problems during install or have other questions,
please feel free to send me a