إقرأني

أهلا جامباس!

جامباس is a free implementation of a graphical development environment based on a BASIC interpreter. It is very inspired by Visual Basic and Java.

ملعومات إضافية على http://gambas.sourceforge.net

ملاحظات مهمة

قبل تنزيل جامباس, وتجميعها, الرجاء قراءة الملاحظات التالية بعناية !

لتجميع جامباس, يجب تركيب المكتبات التالية في نظامك :

جامباس 1.0.x (الإصدارة المستقره)

Components المكتبات
gb.compress.bzlib2 libbz2.so
gb.compress.zlib libz.so
gb.db.mysql libmysqlclient.so libz.so
gb.db.postgresql libpq.so
gb.db.sqlite libsqlite.so
gb.net.curl libcurl.so
gb.qt libqt-mt.so.3
gb.qt.kde All KDE libraries
gb.sdl libSDL.so libSDL_mixer.so
gb.xml.libxml libxml-2.0
gb.xml.libxml.xslt libxslt

جامباس 1.9.x (الإصدارة المطوره)

Components المكتبات
gb.compress.bzlib2 libbz2.so
gb.compress.zlib libz.so
gb.corba libACE.so libomniORB4.so libomniDynamic4.so
gb.crypt libcrypt.so
gb.db.firebird libfbclient.so
gb.db.mysql libmysqlclient.so libz.so
gb.db.odbc libodbc.so
gb.db.postgresql libpq.so
gb.db.sqlite2 libsqlite.so
gb.db.sqlite3 libsqlite3.so
gb.gtk All GTK+ libraries
gb.gtk.svg librsvg2.so
gb.ldap libldap.so
gb.net.curl libcurl.so
gb.opengl libGL.so libGLU.so
gb.pcre libpcre.so
gb.pdf libpoppler.so
gb.qt libqt-mt.so.3
gb.qt.kde All KDE libraries
gb.sdl libSDL.so libSDL_image.so libGL.so libGLU.so
gb.sdl.sound libSDL.so libSDL_mixer.so
gb.v4l libjpeg.so libpng.so Video4Linux >= 2.0
gb.xml libxml-2.0
gb.xml.xslt libxslt

و لا تنسى تركيب جميع ما يتعلق بحزم التطوير!

حاول دوما إستخدام الإصدارات الحديثة من تلك المكتبات.

You must compile gb.qt and gb.qt.ext components to have a working development environment.

qt 3.2 is now required because of one qt function that was missing in older versions of qt. جامباس will compile with qt 3.1, but the function Picture.Copy() will fail in some case. جامباس does not compile with previous versions of qt.

You must have the right to write to /tmp, otherwise جامباس will not work.

This package was done with the following versions of GNU tools:
  • automake 1.9.4

  • autoconf 2.59

  • libtool 1.5.12 (this tool is not required as it is included in the package)

Each sub-directory of this source package is actually independent. You can configure, make and install each of them independently.

How To compile And Install جامباس?

Check installation

First, check that you installed all the needed libraries, and especially all the development packages

Source package configuration

When you are sure that everything is installed, type the following magic sentences in a shell.

'#' represents your shell prompt, and '...' are the messages printed during the configuration and compilation.

This command analyzes the system and configure the package:

# ./configure -C
...

If a library or a development package is missing, then you will be warned that some components are disabled. You must read all the configure output to find the lines beginning with "warning" to know what is missing.

There are more 'configure' specific explanations in the INSTALL file. I invite you to read them.

Compilation

If everything is configured without error, then run this command to compile the program:

# make
...

Installation

If everything compiles without error, then enter this command to install everything:

You must be root to install جامباس on your system.

# su -c "make install"
Password: <Type the root password here>
...

Troubleshooting

If you did several successive compilations, and if something fails during all this process, you can try to type the following command before running ./configure again:

# ./reconf

If it does not work, I need to know what happened exactly. To do so, type the following command :

# ( ./configure; make; make install ) > output.txt 2>&1

And send me the file "output.txt" by mail, with every other detail about your computer and your distribution you find useful.

Running جامباس

If everything was fine, type "gambas2" to run the development environment.

Enjoy it !

How to compile and install جامباس for packaging it?

You must play with the prefix make المتغير when doing the installation.

You compile it normally:
# cd gambas2-X.YY
# ./configure
# ./make

Then you install it in a location different from the root this way:
# make prefix=~/myroot

Then you get all installed جامباس files, but inside your home directory, in the myroot sub-directory.

إنظر أيضا