BuildingLinux

From Mumble Wiki
Revision as of 03:01, 16 June 2008 by Luckyb (talk | contribs)
Jump to: navigation, search

This guide is based (but not only) on this article [1] found at www.linux-gamers.net.

Install the dependencies

For Mumble/Murmur 1.1.0 and greater (including SVN), Qt 4.3 is required. For the 1.0.0 release, Qt 4.2 is sufficient.

For Gentoo

Qt4 needs to be built with certain use flags: sqlite3, ssl. If your Qt4 is not built with those flags yet, then re-install Qt4 like that:

echo x11-libs/qt ssl dbus sqlite3 >> /etc/portage/package.use
emerge -av ">=x11-libs/qt-4.3" 

Get the other dependencies together:

emerge -av --oneshot ">=media-libs/speex-1.2_beta3_p2" media-libs/alsa-lib dev-libs/boost x11-libs/libXevie app-accessibility/speech-dispatcher

Now stop being root and get and compile the mumble tarball as written in the section "Installing from source".

For Debian / Ubuntu

apt-get install qt4-dev-tools libqt4-dev libqt-opengl-dev libspeex1 libspeex-dev libboost-dev libasound2-dev libxevie-dev libxevie1 libssl-dev g++ libspeechd-dev

It's recommended to remove the package qt3-dev-tools if installed.

If you want to use versions of Mumble greater greater than 1.0, you'll need to use Debian lenny or Ubuntu Gutsy, as they are the only versions supporting Qt 4.3.

Installing from source

The most generic approach to install mumble under any Linux is to install from source. Either get the current mumble source over svn or get the latest tarball release from sourceforge.net.

SVN

If compiling from svn you're also going to need git to download speex.

svn co https://mumble.svn.sourceforge.net/svnroot/mumble/trunk mumble
cd mumble/
git-clone http://git.xiph.org/speex.git/ speex

tarball release

Download the latest tarball release from sf.net http://sourceforge.net/project/showfiles.php?group_id=147372 and extract it:

tar xzfv mumble-x.x.x.tar.gz       # (whereas the X are the version numbers of mumble)
cd mumble-x.x.x

Compile Mumble and Murmur (Mumble server)

Be sure to have the pre-requisites installed and in place for your linux distribution (see the sections above) before you begin compiling it:

qmake main.pro
make

Alternatively, if you are using Debian:

qmake-qt4 main.pro
make

Push to talk

For using push to talk, edit /etc/X11/xorg.conf:

Section "Extensions"
    Option "XEVIE" "Enable"
EndSection

Restart the Xserver.

Note: If you use Mumble 1.1.0 or newer, you don't need to enable Xevie, if you run mumble as an user with read access to /dev/input

Note: If you use Mumble 1.1.4 or newer, you don't need to enable Xevie or allow access to /dev/input. PushToTalk will work out of the box.

Text to Speech

For text-to-speech voices you will need to install festival and at least a voice. Most distros ship packages for that in their repositories. Link title

Run Mumble

cd release
./mumble

Run Murmur