[Gambas-user] Gambas 3 version on /trunk

Gianluigi bagonergi at gmail.com
Tue Feb 1 10:42:15 CET 2022


Il giorno mar 1 feb 2022 alle ore 09:56 Mayost Sharon <sharon at 455.co.il> ha
scritto:

> hello
>
> ...
>
> When I install including PPA it does not work
>
> Thanks
>

You should install Gambas by compiling .
Be careful that first you have to remove all traces of Gambas3 and PPA from
the OS.

This is the safe procedure to install Gambas3 Master on Mint, open a
terminal (Ctrl+Alt+T) and enter these commands one at a time:
Attention the first command installs all the libraries useful to Mint and
depending on which version of Mint you have it could fail, try to install
the correct libraries and don't go on until you have installed them all
exactly, it would be useless.

You can see here the libraries for each OS version (but set the command as
per my instructions):
https://gitlab.com/gambas/gambas/-/blob/master/.gitlab-ci.yml

The command must be written all in a row and the libraries must be
separated from each other by a space.
Check by copying them into a text editor first.
When you write the password, the terminal doesn't do anything, you don't
have to worry about it, just write the correct root password and press
enter.
(After each command to start it you have to hit enter from the keyboard)

sudo apt update

sudo apt install build-essential g++ automake autoconf libtool libbz2-dev
libzstd-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-private-dev libpoppler-glib-dev libpoppler-cpp-dev
libasound2-dev libdirectfb-dev libxtst-dev libffi-dev libglew-dev
libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgdk-pixbuf2.0-dev
linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
libcairo2-dev libgsl-dev libncurses5-dev libgmime-2.6-dev llvm-dev llvm
libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev
libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev libssl-dev
libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev
qtbase5-dev qtwebengine5-dev libwebkit2gtk-4.0-dev git

sudo apt install postgresql-server-dev-12       (if it's not right change
the version number)

git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel

cd gambasdevel

./reconf-all && ./configure -C

If at the end you see this message in the terminal:
|| THESE COMPONENTS ARE DISABLED:
|| - gb.desktop.gnome.keyring
|| - gb.qt4
|| - gb.qt4.ext
|| gb.qt4.opengl
|| gb.qt4.webkit
|| gb.qt4.webview

everything is ok and you have to continue with these commands:

make

LANG=”C” sudo make install   (English output)

Done, good luck

Gianluigi

Translated with www.DeepL.com/Translator (free version)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220201/ab6d77da/attachment-0001.htm>


More information about the User mailing list