Gambas Download und Install         zurück zu Gambas       

Wie kann man Gambas aus dem Netz laden und installieren ?

Aller Anfang ist schwer ! Die erste Hürde muß schon einmal überwunden werden, wenn Gambas neu unter Linux zu installieren ist. Ich habe es mir leicht gemacht, denn unter Suse Linux 9.0 professional wird Gambas automatisch und korrekt installiert. Es läuft problemlos und man kann sofort starten.

Allen anderen ist der quälende Weg durch die Installation beschrieben


Sie finden Gambas auf der Projekt-Homepage

How to compile and install Gambas ?

Before all, read this to know if you can compile Gambas successfully on your own system, and then the important notes !

Then, open a terminal window. For example xterm, or Konsole if you are using KDE.

Remember that you must install the following development packages : X11, QT3, KDE3, PostgreSQL, MySQL. The way to do that depends on your distribution.

Then, you must download the Gambas source package on your machine. For example, you can use wget in the terminal:

[linux@home ~]$ wget

Then, you must unpack the downloaded archive in a well chosen place. For example, in your home directory.

[linux@home ~] cd ~

[linux@home ~]$ bunzip2 gambas-0.80.tar.bz2

[linux@home ~]$ tar xf gambas-0.80.tar

[linux@home ~]$ ls

... gambas-0.80 ...

A gambas directory has been created with the contents of the archive. Enter it !

[linux@home ~]$ cd gambas-0.80

Then you can launch the compilation of the sources with the two following magic commands : configure and make.

The first command is configure. This command is used to analyze your system in order to adapt the compilation process. It is a script located in the source directory, so you could be obliged to add "./" before the command name to launch it.

[linux@home gambas-0.80]$ ./configure


Many messages scroll before you get the prompt. If something wrong happens, you get an error message, and must go to the troubleshooting page to identify your configuration problem, before continuing.

If you have problems, you can disable component compilation by passing the following options to configure :

--disable-kde-component to disable the compilation of the KDE component.

--disable-db-component to disable the compilation of the database component.

And so on... Type ./configure --help to get the complete list of options.

For example :

[linux@home gambas-0.80]$ ./configure --disable-db-component

Note that if you forgot to install a development package, the components that need it will be automatically disabled. You will see a warning message in the output of the configure command.

When configure ends without any error, you can launch the compilation with make.

[linux@home gambas-0.80]$ make


The compilation process takes about 20 minutes on my old good Pentium-II 400 Mhz, and more than 5 minutes on my new Athlon XP 2000+. So be patient !

If something wrong happens during the compilation, you get an error message. It may be a configuration problem that the configure script should have detected, or an incompatibility with your system and/or compiler. I suggest to you to go to the mailing-list to carefully expose your problem with every detail.

Once compilation is terminated without problems, you can install Gambas. To do that, you must be root. So we are going to use the su command :

[linux@home gambas-0.80]$ su -c "make install"



Type the root password, and the installation proceeds. Everything is installed under /opt/gambas by default. If you want to specify another installation directory, you must use the --prefix configure option. Read the INSTALL file in the source directory for more details.

For example, to install Gambas under /usr, just type the following:

[linux@home gambas-0.80]$ ./configure --prefix=/usr

Note that symbolic links are created in the /usr/bin folder so that Gambas programs are always in your path, and can be easily located by the development environment.

Of course, if you install Gambas directly in /usr, these symbolic links are not created.

Once everything is done, you can launch the development environment.

[linux@home gambas-0.80]$ gambas

You are entering the warp zone... ;-)