[Gambas-bugtracker] Bug #2769: gb.form (Button) out of bounds when trying to add a image to button

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Aug 17 16:46:16 CEST 2023


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

Comment #13 by Gianluigi GRADASCHI:

If you want to compile the latest master on Debian 12 these are the steps:

First you need to completely remove Gambas3 stable.
This depends on how you installed it.
Once the stable version is removed, open the terminal and issue these commands:

sudo apt update

sudo apt install 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 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 libpoppler-private-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-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 libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev qtwebengine5-dev libwebkit2gtk-4.0-dev git libssl-dev git

Answering Y (yes) to the terminal question

With this command you install all the libraries needed by Gambas3 + git from which you will obtain the last master that you will copy in the 'gambasdevel' folder with the command:

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

Continue with the other 3 commands:

cd gambasdevel

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

make && LANG="C" sudo make install

If after 'configure' the terminal reports something like:

| THESE COMPONENTS ARE DISABLED:
|| - gb.sqlite2
|| - gb.qt4
|| - gb.qt4.ext
|| - gb.qt4.opengl
|| - gb.qt4.webkit
|| - gb.qt4.webview

It is normal and you can continue with the installation, if there are many more, ask here.

To uninstall the master, these are the commands:

cd gambasdevel

sudo make uninstall

cd

rm -rf gambasdevel/

Good luck




More information about the Bugtracker mailing list