Gambas 2.23.1
What's new
The version 1 of the Video4Linux API has been removed from recent Linux kernels.
This release fixes the
gb.v4l component so that it compiles without it.
ChangeLog
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for Lithuanian language.
* NEW: Swedish translation updated.
[INTERPRETER]
* BUG: The GB.ToZeroString() API now correctly handles zero length strings.
[ARCHIVER]
* BUG: Ignore "core", "vgcore.*" and "callgrind.*" files when making an
executable.
[GB.V4L]
* BUG: Make gb.v4l compile with recent kernels.
Requirements
To compile Gambas, you must install the following libraries on your system :
Components
|
Libraries & requirements
|
Interpreter
|
libffi.so
|
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.desktop
|
libXtst.so
|
gb.gtk
|
All GTK+ libraries >= 2.10
|
gb.gtk.svg
|
librsvg2.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 >= 3.3
|
gb.qt.kde
|
All KDE 3 libraries >= 3.5
|
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
|
And do not forget to install all related development packages!
Try to always use a recent version of these libraries.
You must compile
gb.qt4 and
/wiki/comp/gb.qt.ext components to have a working development
environment.
You must have the right to write to
/tmp
, otherwise Gambas will not work.
This package was done with the following versions of GNU tools on Ubuntu 10.10:
-
automake
1.11.1
-
autoconf
2.67
-
libtool
2.2.6b
Compilation & Installation
Check installation
First, check that you installed all the needed libraries, and
especially all the development packages.
Do not forget to look at the
Compilation & Installation page. Maybe you will find important information specific to your distribution.
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.
First, type that to create the configuration scripts.
Then type that to analyze the current system and configure the package:
If a library or a development package is missing, then you will be
warned that some components are disabled.
There are more 'configure' specific explanations in the INSTALL
file located in the top-level source directory.
I invite you to read them.
Compilation
If everything is configured without error, then run this command to compile the program:
Installation
If everything compiles without error, then enter this command to install everything:
You must be root
to install Gambas on your system.
$ su -c "make install"
Password: <Type the root password here>
...
or
$ sudo make install
Password: <Type your password here>
...
Troubleshooting
If you did several successive compilations, after having updated the source from the subversion
repository for example, and if something fails during
all this process, you can try to "reconfigure" the configuration scripts by typing the following command:
Then you can run
./configure -C
again
If it does not work, I need to know what happened exactly.
To do so, type the following command :
$ ( ./configure -C; 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 Gambas
If everything was fine, type "gambas2" to run the development environment.
Enjoy it !
See also