Before downloading Gambas, compiling it and then complaining, please read the following remarks CAREFULLY!
- To compile Gambas, you must install the following packages on your system :
- The X11 development packages.
- The Qt 3 development packages.
- The KDE 3 development packages if you want to compile the KDE component.
- The PostgreSQL, MySQL or SQlite development packages if you want to compile database drivers.
- The libcurl development packages (version 7.10.7 or greater) if you want to compile de network-curl component.
- The SDL and SDL_mixer development packages if you want to compile the SDL component.
- The libxml and libxslt development packages if you want to compile the xml components.
- Qt 3.2 is now required because of one Qt function that was missing in older versions of Qt. Gambas will compile with Qt 3.1, but the function Picture.Copy() will fail in some case. Gambas does not compile with previous versions of Qt.
- Gambas does not compile with gcc 3.0.x. It seems that it is a bug of gcc. Use gcc 3.2 instead. (Note that there is a not yet resolved include file clash with gcc 2.9x).
- You must have the right to write to /tmp, otherwise Gambas will not work.
First of all, it's strongly recommend to install apt-rpm before messing with the rpm dependency gods. Otherwise you could find yourself going directly to the rpm-hell.
First, download and install the following packages: (is it possible to install these packages using apt-get? I installed them manually...)
rpm -Uhv qt-3.1.2-14.i386.rpm
rpm -Uhv qt-devel-3.1.2-14.i386.rpm
Now, depending on your current setup, you'll have to install the following packages:
# Development tools
apt-get install gcc gcc-c++ libstdc++
# Development libraries
apt-get install XFree86-devel
apt-get install kdelibs-devel
# Database-specific
apt-get install postgresql postgresql-libs postgresql-devel qt-PostgreSQL
apt-get install mysql mysql-devel qt-MySQL