From https://wiki.mumble.info/wiki/BuildingLinux#1.3.x
$ sudo apt-get install libg15daemon-client-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libg15daemon-client-dev
From https://wiki.mumble.info/wiki/BuildingLinux#G15_Support
$ svn co https://g15daemon.svn.sourceforge.net/svnroot/g15daemon/trunk/g15daemon g15daemon
svn: E170013: Unable to connect to a repository at URL 'https://g15daemon.svn.sourceforge.net/svnroot/g15daemon/trunk/g15daemon'
svn: E160013: '/svnroot/g15daemon/trunk/g15daemon' path not found
Build error:
$ git clone git://github.com/mumble-voip/mumble.git mumble
$ cd mumble
$ git submodule init
$ git submodule update
$ qmake -recursive main.pro
[...]
Reading /home/chiller/Desktop/git-extern/mumble/plugins/ffxiv_x64/ffxiv_x64.pro
Reading /home/chiller/Desktop/git-extern/mumble/plugins/gtav/gtav.pro
Reading /home/chiller/Desktop/git-extern/mumble/plugins/wow_x64/wow_x64.pro
Reading /home/chiller/Desktop/git-extern/mumble/overlay_gl/overlay_gl.pro
Reading /home/chiller/Desktop/git-extern/mumble/src/murmur/murmur_ice/murmur_ice.pro
Reading /home/chiller/Desktop/git-extern/mumble/src/murmur/murmur.pro
$ make
[...]
make[2]: Entering directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
g++ -c -include release/mumble -pipe -fvisibility=hidden -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -O2 -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -std=gnu++1z -pthread -Wall -W -D_REENTRANT -fPIC -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.4.0 -DMUMBLE -DUSE_MANUAL_PLUGIN -DNO_CRASH_REPORT -DUSE_OPUS -DUSE_RNNOISE -DUSE_ALSA -DUSE_OSS -DUSE_PULSEAUDIO -DUSE_JACKAUDIO -DUSE_BONJOUR -DUSE_DBUS -DUSE_SPEECHD -DUSE_SPEECHD_PKGCONFIG -DUSE_G15 -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/speex-src/include -I../../3rdparty/speex-src/libspeex -I../../3rdparty/speex-build -I../../3rdparty/speexdsp-src/include -I../../3rdparty/speexdsp-src/libspeexdsp -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/rnnoise-src/include -I/usr/lib/oss/include -I../../3rdparty/jack-src -isystem /usr/include/opus -isystem /usr/include/alsa -isystem /usr/include/avahi-compat-libdns_sd -isystem /usr/include/speech-dispatcher -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I../../release/.moc/mumble -isystem /usr/include/libdrm -I../../release/.ui/mumble -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../../release/.obj/mumble/G15LCDEngine_unix.o G15LCDEngine_unix.cpp
In file included from G15LCDEngine_unix.cpp:6:
./G15LCDEngine_unix.h:10:10: fatal error: g15daemon_client.h: No such file or directory
#include <g15daemon_client.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile.Release:5057: ../../release/.obj/mumble/G15LCDEngine_unix.o] Error 1
make[2]: Leaving directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
make[1]: *** [Makefile:40: release] Error 2
make[1]: Leaving directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
make: *** [Makefile:269: sub-src-mumble-make_first-ordered] Error 2
OS: debian10
$ uname -a
Linux debian 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
I checked the packages that ship with Debian via https://www.debian.org/distrib/packages and as it seams, this package has been removed in the current stable Debian. If you search for "g15" in the oldstable distribution, you'll find that package whereas it won't come up for the current stable.
From the project's website, it appears as if the SVN link has changed to https://svn.code.sf.net/p/g15daemon/code/trunk g15daemon-code
Does that work for you?
Just to make sure: You explicitly want G15 support, right? 'cause if you don't you can simply pass the no-g15 flag and you won't need all of this :)
Idk what g15 is I thought its kinda important.
I did not found the git repo for the wiki :/
But some things should probably be changed there
$ qmake CONFIG+=no-g15 no-ice -recursive
Cannot find file: no-ice.
$ svn co https://g15daemon.svn.sourceforge.net/svnroot/g15daemon/trunk/g15daemon g15daemon
$ cd g15daemon
$ autoreconf -i
$ ./configure
$ make
$ make install
Should probably be changed to
$ svn co https://svn.code.sf.net/p/g15daemon/code/trunk g15daemon
$ cd g15daemon/g15daemon
$ autoreconf -i
$ ./configure
$ make
$ make install
Also sadly that did not work for me :/
$ qmake CONFIG+=no-g15 -recursive main.pro
$ make
[..]
cd 3rdparty/rnnoise-build/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/chiller/Desktop/git-extern/mumble/3rdparty/rnnoise-build/rnnoise-build.pro CONFIG+=no-g15 ) && make -f Makefile
make[1]: Entering directory '/home/chiller/Desktop/git-extern/mumble/3rdparty/rnnoise-build'
make -f Makefile.Release
make[2]: Entering directory '/home/chiller/Desktop/git-extern/mumble/3rdparty/rnnoise-build'
make[2]: Nothing to be done for 'first'.
make[2]: Leaving directory '/home/chiller/Desktop/git-extern/mumble/3rdparty/rnnoise-build'
make[1]: Leaving directory '/home/chiller/Desktop/git-extern/mumble/3rdparty/rnnoise-build'
cd src/mumble/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/chiller/Desktop/git-extern/mumble/src/mumble/mumble.pro CONFIG+=no-g15 ) && make -f Makefile
make[1]: Entering directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
make -f Makefile.Release
make[2]: Entering directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
g++ -c -include release/mumble -pipe -fvisibility=hidden -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -O2 -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -std=gnu++1z -pthread -Wall -W -D_REENTRANT -fPIC -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.4.0 -DMUMBLE -DUSE_MANUAL_PLUGIN -DNO_CRASH_REPORT -DUSE_OPUS -DUSE_RNNOISE -DUSE_ALSA -DUSE_OSS -DUSE_PULSEAUDIO -DUSE_JACKAUDIO -DUSE_BONJOUR -DUSE_DBUS -DUSE_SPEECHD -DUSE_SPEECHD_PKGCONFIG -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/speex-src/include -I../../3rdparty/speex-src/libspeex -I../../3rdparty/speex-build -I../../3rdparty/speexdsp-src/include -I../../3rdparty/speexdsp-src/libspeexdsp -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/rnnoise-src/include -I/usr/lib/oss/include -I../../3rdparty/jack-src -isystem /usr/include/opus -isystem /usr/include/alsa -isystem /usr/include/avahi-compat-libdns_sd -isystem /usr/include/speech-dispatcher -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I../../release/.moc/mumble -isystem /usr/include/libdrm -I../../release/.ui/mumble -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../../release/.obj/mumble/qrc_mumble.o release/qrc_mumble.cpp
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: release/mumble: No such file or directory
compilation terminated.
make[2]: *** [Makefile.Release:5089: ../../release/.obj/mumble/qrc_mumble.o] Error 1
make[2]: Leaving directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
make[1]: *** [Makefile:40: release] Error 2
make[1]: Leaving directory '/home/chiller/Desktop/git-extern/mumble/src/mumble'
make: *** [Makefile:269: sub-src-mumble-make_first-ordered] Error 2
Idk what g15 is I thought its kinda important.
G15 is support to use these small additional displays that come attached to some keyboards. If you don't have this kind of stuff, you'll be fine using no-g15
Should probably be changed to
Absolutely. Just wanted to make sure this link works :)
I did not found the git repo for the wiki :/
It's not on Git. It's a plain old MediaWiki hosted at wiki.mumble.info. If you want to edit it, you'll have to create an account there.
$ qmake CONFIG+=no-g15 no-ice -recursive
Cannot find file: no-ice.
This is the wrong syntax. If you want to add multiple configs, you'll either have to put them in quotes:
$ qmake CONFIG+="no-g15 no-ice" -recursive
or you'll have to use CONFIG multiple times:
$ qmake CONFIG+=no-g15 CONFIG+=no-ice -recursive
cc1plus: error: one or more PCH files were found, but they were invalid
This error indicates that your PCH (precompiled header file) does not match your current build configuration. In order to re-create it you can simply issue make clean to clean your build-tree and then make again to rebuild everything with the current build configuration.
make clean
Worked superb! And now I was able to build the mumble client yay :tada:
Yea and im not really interested in requesting a wiki account. Maybe the wiki could be moved to git?
But things like qmake CONFIG+=no-g15 no-ice -recursive should be fixed for sure. Well but since my build worked out and this is not a issue of the mumble repo I will close it.
@Krzmbrzl thanks for the support.
Great to hear that it worked :)
Yes there already is an issue about moving the developer related documentation to a github wiki. We plan to do so once we migrated the project to cmake (which should be soon-ish).
I'll reopen this issue and assign myself so that I remember to update the wiki at the according places :)
Okay I think I caught all outdated notes and fixed them. I also added a note about the invalid PCH error and how to fix it.