Fedora

instructions de compilation de Gambas 2 (old stable)

Récupération des paquets de développement :

# yum groupinstall "Development Tools" "Development Libraries"

Récupération des autres paquets :

Pour Fedora 12 :

# yum install cairo-devel sqlite2-devel gtk2-devel gtkglext-devel imlib2-devel librsvg2-devel poppler-devel libv4l-devel SDL-devel SDL_sound-devel SDL_ttf-devel SDL_net-devel SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_Pango-devel firebird-libfbclient unixODBC-devel postgresql-devel libXtst-devel mysql-devel pcre-devel mesa-libGLU-devel mesa-libGLw-devel mesa-libGL-devel glew-devel qt3-devel kdebase3-devel libsqlite3x-devel libsqlite3x sqlite-devel

Pour Fedora 13 :

# yum install cairo-devel sqlite2-devel gtk2-devel gtkglext-devel imlib2-devel librsvg2-devel poppler-devel libv4l-devel SDL-devel SDL_sound-devel SDL_ttf-devel SDL_net-devel SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_Pango-devel firebird-libfbclient unixODBC-devel postgresql-devel libXtst-devel mysql-devel pcre-devel mesa-libGLU-devel mesa-libGLw-devel mesa-libGL-devel glew-devel qt3-devel kdebase3-devel firebird-devel libsqlite3x-devel libsqlite3x sqlite-devel

Récupération des paquets omniORB (ils ne sont pas dans le dépôt fedora ni dans rpmfusion) :

Pour Fedora 12 :

Remplacer ARCH par votre architecture (c.a.d. i686, x86_64, etc)/

$ wget http://www.fourpalms.org/pub/omniORB/RedHat/FC12/omniORB-4.1.4-3.fc12.ARCH.rpm
$ wget http://www.fourpalms.org/pub/omniORB/RedHat/FC12/omniORB-devel-4.1.4-3.fc12.ARCH.rpm
# rpm -Uhv omniORB-4.1.4-3.fc12.ARCH.rpm omniORB-devel-4.1.4-3.fc12.ARCH.rpm

Pour Fedora 13 :

Remplacer ARCH par votre architecture (c.a.d. i686, x86_64, etc)/

Télécharger le paquets nécessaires sur ce site : http://www.xquiet.eu/?p=55 Les installer :

# rpm -Uhv omniORB-4.1.4-3.fc13.ARCH.rpm omniORB-devel-4.1.4-3.fc13.ARCH.rpm

Créer le répertoire pour les sources gambas2 et s’y placer :

$ mkdir gambas2-sources
$ cd gambas2-sources

Récupération des sources de gambas 2 chez gambas.sourceforge.net

$ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0
$ cd 2.0

Lancez les commandes suivantes pour démarrer la compilation :

$ ./reconf-all
$ ./configure -C
$ make

Installez gambas2 dans le système

# make install

instructions de compilation de Gambas 3.0

Récupération des paquets de développement :

# yum groupinstall "Development Tools" "Development Libraries"

Récupération des autres paquets :

Pour Fedora 12 :

# yum install cairo-devel libsqlite3x-devel sqlite2-devel gtk2-devel gtkglext-devel imlib2-devel librsvg2-devel poppler-devel qt-devel libv4l-devel SDL-devel SDL_sound-devel SDL_ttf-devel SDL_net-devel SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_Pango-devel firebird-libfbclient unixODBC-devel postgresql-devel libXtst-devel mysql-devel pcre-devel mesa-libGLU-devel mesa-libGLw-devel mesa-libGL-devel glew-devel

Pour Fedora 13, 14, 15 & 16:

# yum install cairo-devel libsqlite3x-devel sqlite2-devel gtk2-devel gtkglext-devel imlib2-devel librsvg2-devel poppler-devel qt-devel libv4l-devel SDL-devel SDL_sound-devel SDL_ttf-devel SDL_net-devel SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_Pango-devel firebird-libfbclient unixODBC-devel postgresql-devel libXtst-devel mysql-devel pcre-devel mesa-libGLU-devel mesa-libGLw-devel mesa-libGL-devel glew-devel firebird-devel dbus-devel libzip libzip-devel bzip2-devel libcurl-devel qt-webkit-devel libxml2-devel

Créez le répertoire pour les sources gambas3 et placez vous y :

$ mkdir gambas3-sources
$ cd gambas3-sources

Récupération des sources chez gambas.sourceforge.net

svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/
cd trunk

Lancez les commandes suivantes pour démarrer la compilation :

$ ./reconf-all
$ ./configure
$ make

Installez gambas3 dans le système

# make install
.