[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3085: Please update Gambas3 Debian 13 repo


http://gambaswiki.org/bugtracker/edit?object=BUG.3085&from=L21haW4-

Comment #3 by Gianluigi GRADASCHI:

Hi,
I don't know your skill level, but if you compile Gambas, you'll have no problems.
Be careful, you must first remove all traces of the old Gambas3.
You can do it graphically, if you know how, or you can do it from the terminal, but since compiling requires a terminal, you might as well get it out of the way right away.
First, you need to be added to the 'sudo' group. If you're not, open a terminal and type:
Note: If the command prompt is $, you're the normal user. If it's #, you're root.
su -l
and enter the root password. Once you're root, type this command:
adduser <your username> sudo
For example:
adduser goofy sudo
Now you need to reboot the system with the command:
reboot
Remove any installed Gambas with all its dependencies:
sudo apt purge gambas*
sudo apt autoremove
Now you're ready to compile (run one command at a time). The command that installs the libraries is very long, so copy it all:

sudo apt-get install -y build-essential g++ automake autoconf libbz2-dev libzstd-dev default-libmysqlclient-dev unixodbc-dev libpq-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libpcre2-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libpoppler-cpp-dev libasound2-dev libxtst-dev libffi-dev libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgdk-pixbuf-xlib-2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev libncurses-dev libgmime-3.0-dev libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev libqt5opengl5-dev libqt5svg5-dev libqt5x11extras5-dev qtbase5-dev qtwebengine5-dev libwebkit2gtk-4.1-dev git libssl-dev qt6-base-dev qt6-webengine-dev qt6-svg-dev libmongoc-dev pngquant

This command clones gambas and copies it to the gambasdevel folder in your home:

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

cd gambasdevel

./reconf-all

GAMBAS_CONFIG_FAILURE=1 ./configure -C --disable-keyring --disable-sqlite2 --disable-qt4 --disable-gtkopengl --disable-qt5webkit

make -j$(nproc)

sudo make install

Once done, you'll find it among the installed programs; you can also run it from the terminal with: gambas3

If you have any questions, let me know.

Gianluigi GRADASCHI changed the state of the bug to: Opened.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----