BuildingLinux

From Mumble Wiki
Revision as of 17:49, 18 May 2008 by Haudrauf (talk | contribs) (Installing from source)
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

If Qt4 is missing the sqlite use flags, then re-install Qt4 with sqlite features:

echo x11-libs/qt dbus sqlite 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 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.

Compiling 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

svn co https://mumble.svn.sourceforge.net/svnroot/mumble/trunk mumble
cd mumble/

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

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