Sunday, July 7, 2013

Installing Gambas2 in Linux (Fedora 1X)


Introductions:
Still we want to use the Gambas2 latest version.The VB6 version will be the best alike compiler in Linux and that is the Gambas2.

Below are the details to completely install the gambas2 from its repository.You can visit the Gambas2 website for additional informations.Here is the link http://gambas.sourceforge.net/en/main.html. Good Luck!


Requirements:
The following versions of GNU tools are needed:
Please be assure that all of these are contemporary with the OS version being used!
  • automake 1.11.x
  • autoconf 2.6x
  • libtool 2.x

Methodology

Download
gambas2.2.4.tar.gz

root@localhost# wget http://sourceforge.net/projects/gambas/files/gambas2/2.24.0/gambas2-2.24.0.tar.bz2/download


Install
yum install the following:

root@localhost# yum install automake* autoconf* libtool*

root@localhost#  yum install build-essential autoconf libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgsl0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev

root@localhost#  tar -zxvf gambas2.2.4.tar.gz
root@localhost# cd gambas2.2.4/
root@localhost# ./reconf-all
root@localhost# ./configure -C
root@localhost# make
root@localhost# make install

Testing
root@localhost# gambas2 ( you must see gambas2 now running!)

Details:




Summary:

Troubles:
If you did several successive compilations and  having updated the source from the subversion repository  yet  if something fails during all this process.

Shooting:
(1)Please  try to "reconfigure" the configuration scripts by typing the following command: 

$ ./reconf-all
(2) Then  run
./configure -C

(3) If it does not work, please  know what happened exactly.  Type the following command :

$ ( ./configure -C; make; make install ) > output.txt 2>&1
  
Note:
And send to the gambas2 support the file "output.txt" by mail, including the other detail about your computer and your distribution you find useful.


Conclusions: