[Gambas-bugtracker] Bug #1557: Building latest gambas version from git on mint 19.1

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Mar 27 23:49:46 CET 2019


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

Brian G reported a new bug.

Summary
-------

Building latest gambas version from git on mint 19.1

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


Description
-----------

with two issues 
1) QT5 must be built with -fPIC for this system
2) stuck while build gb.gmp for following reason
   1) the CGAL directory contains a dummy stddef.h file with error message
   2) boost inclusion causes following error

make[4]: Entering directory '/srv/gambas/gambas-master/gb.gmp/src'
  CC       gb_gmp_la-main.lo
In file included from /usr/include/boost/container/detail/std_fwd.hpp:26:0,
                 from /usr/include/boost/container/container_fwd.hpp:61,
                 from /usr/include/boost/container/allocator_traits.hpp:31,
                 from /usr/include/boost/container/flat_map.hpp:24,
                 from /usr/include/CGAL/config.h:123,
                 from /usr/include/CGAL/gmp.h:22,
                 from main.h:31,
                 from main.c:28:
/usr/include/boost/container/detail/std_fwd.hpp:27:1: error: unknown type name ‘namespace’; did you mean ‘isspace’?
 BOOST_MOVE_STD_NS_BEG
 ^
/usr/include/boost/container/detail/std_fwd.hpp:27:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 BOOST_MOVE_STD_NS_BEG
 ^
In file included from /usr/include/boost/container/allocator_traits.hpp:31:0,
                 from /usr/include/boost/container/flat_map.hpp:24,
                 from /usr/include/CGAL/config.h:123,
                 from /usr/include/CGAL/gmp.h:22,
                 from main.h:31,
                 from main.c:28:
/usr/include/boost/container/container_fwd.hpp:64:1: error: unknown type name ‘namespace’; did you mean ‘isspace’?
 namespace boost{
 ^~~~~~~~~
 isspace
/usr/include/boost/container/container_fwd.hpp:64:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 namespace boost{
                ^
/usr/include/boost/container/container_fwd.hpp:70:1: error: unknown type name ‘namespace’; did you mean ‘isspace’?
 namespace boost{ namespace container{ namespace container_detail{
 ^~~~~~~~~
 isspace
/usr/include/boost/container/container_fwd.hpp:70:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 namespace boost{ namespace container{ namespace container_detail{
                ^
/usr/include/boost/container/container_fwd.hpp:75:1: error: unknown type name ‘namespace’; did you mean ‘isspace’?
 namespace boost{ namespace container{ namespace pmr{
 ^~~~~~~~~
 isspace
/usr/include/boost/container/container_fwd.hpp:75:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 namespace boost{ namespace container{ namespace pmr{
                ^
/usr/include/boost/container/container_fwd.hpp:80:10: fatal error: cstddef: No such file or directory
 #include <cstddef>
          ^~~~~~~~~
compilation terminated.

Any help would be appreciated


System information
------------------

Mint 19.1 TESSA 64-bit
Kernel Linux 4.15.0-20-generic x84_64
Mate 1.20.1

Ubuntu bionic base
Ign:1 http://packages.linuxmint.com tessa InRelease
Hit:2 http://packages.linuxmint.com tessa Release                                                                                         
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                   
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease                                                           
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                    
Hit:6 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu bionic InRelease                                
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                           
Hit:9 http://ppa.launchpad.net/x2go/stable/ubuntu bionic InRelease                                                                        
Get:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]   

info from gambas installed from ppa
 
OperatingSystem=Linux
Kernel=4.15.0-20-generic
Architecture=x86_64
Distribution=Linux Mint 19.1 Tessa
Desktop=MATE
Theme=Qt5CTProxy
Language=en_US.UTF-8
Memory=7355M

[Libraries]
Cairo=libcairo.so.2.11510.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.4
GStreamer=libgstreamer-1.0.so.0.1401.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
COMPIZ_CONFIG_PROFILE=mate
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
DESKTOP_SESSION=mate
DISPLAY=:0
GB_GUI=gb.qt5
GDMSESSION=mate
GDM_LANG=en_US
GIO_LAUNCHED_DESKTOP_FILE=<home>/Desktop/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=26103
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=0
HOME=<home>
INSIDE_CAJA_PYTHON=
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MATE_DESKTOP_SESSION_ID=this-is-deprecated
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=<home>
QT_ACCESSIBILITY=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_QPA_PLATFORMTHEME=qt5ct
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1144,unix/<hostname>:/tmp/.ICE-unix/1144
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1480
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7




More information about the Bugtracker mailing list