Op openSUSE 15.5 lukte het niet om git versie van Gambas 3.19.90 te compileren.
Wat wel lukte op Tumbleweed, lukt niet op openSUSE 15.5.
In de repositories is geen Gambas3 voor 15.5 beschikbaar, dus het wordt zoeken naar een andere oplossing…
(zie ook gambas3 verdwenen na update openSUSE)
Zie http://gambas.copyleft.be/blog/archives/2605
mkdir gambasfromsource
cd gambasfromsource
...
git clone --depth=1 https://gitlab.com/gambas/gambas.git
...
cd ~/gambasfromsource/gambas>
cat VERSION
...
./reconf-all
...
./configure -C -q
...
make -j $(nproc)
...
sudo make install
De verschillen:
foutmeldingen
./configure -C -q
per vergissing zonder parameters..
|| THESE COMPONENTS ARE DISABLED:
|| – gb.db.sqlite2
|| – gb.mongodb
|| – gb.qt4
|| – gb.qt4.ext
|| – gb.qt4.opengl
|| – gb.qt4.webkit
|| – gb.qt4.webview
|| – gb.qt5.webkit
|| – gb.qt6
|| – gb.qt6.ext
|| – gb.qt6.opengl
|| – gb.qt6.wayland
|| – gb.qt6.webview
|| – gb.qt6.x11
||
../gambas.h:1378:19: error: expected initializer before ‘.’ token
#define toupper GB.ToUpper
^
../gambas.h:1379:19: error: expected initializer before ‘.’ token
#define tolower GB.ToLower
^
CXX gb_qt5_la-CSlider_moc.lo
CXX gb_qt5_la-CScrollBar_moc.lo
make[5]: *** [Makefile:990: gb_qt5_la-canimation_moc.lo] Error 1
make[5]: *** Waiting for unfinished jobs….
make[4]: *** [Makefile:1184: all-recursive] Error 1
make[3]: *** [Makefile:476: all-recursive] Error 1
make[2]: *** [Makefile:408: all] Error 2
make[1]: *** [Makefile:455: all-recursive] Error 1
make: *** [Makefile:396: all] Error 2
make install
…
make[3]: *** [Makefile:990: gb_qt5_la-canimation_moc.lo] Error 1
make[2]: *** [Makefile:1184: install-recursive] Error 1
make[1]: *** [Makefile:476: install-recursive] Error 1
make: *** [Makefile:455: install-recursive] Error 1