|
Requirements
|
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
GCC Homepage.
- GNU Automake, Autoconf and Libtool
- Gtk--/Gnome-- 1.1.8. Get the
source package or visit the
Gtk-- Homepage.
- The SQL interface library GQL.
- You also need libsigc++,
used by all of genSQL, GQL and Gtk--/Gnome--.
|
Download
|
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.
|
Installation
|
The compilation and installation follow the standard scheme:
./configure configuration-args
./make
./make install # do this as root
The only things you should pay attention to are:
- Having all libraries and tools genSQL requires properly
installed.
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 /usr and
the Gtk-- libs compiled from source, installed in /usr/local .
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
Now 'gnome-config --libs gnomemm' should give you:
-rdynamic -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lgnomemm
-lgtkmm -lgdkmm -lsigc -lpthread
or similar.
-
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
mail.
|
|