Difference between revisions of "BuildingLinux"

From Mumble Wiki
Jump to: navigation, search
(Murmur (server) dependencies)
(Compile Mumble and Murmur (Mumble server))
Line 56: Line 56:
 
  cd mumble-x.x.x
 
  cd mumble-x.x.x
  
=== Compile Mumble and Murmur (Mumble server) ===
+
=== Compile Mumble and Murmur ===
Be sure to have the pre-requisites installed and in place for your linux distribution (see the sections above) before you begin compiling it:
+
For more configuration options on the qmake command read the supplied INSTALL file.
 +
 
 +
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
 
  qmake main.pro
 
  make
 
  make
  
If you want to compile Murmur (Mumble server) only type
+
If you want to compile Murmur (Mumble server) only, then type
  
 
  qmake main.pro CONFIG+=no-client
 
  qmake main.pro CONFIG+=no-client

Revision as of 09:41, 2 February 2009

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 Gentoo

These instructions for Gentoo don't make use of the Mumble ebuild in the portage tree! Here, you install the needed dependencies to build Mumble and Murmur from the source package!

Mumble (client) dependencies

Dependencies: Qt4, speex, alsa-lib, boost, libXevie, speed-dispatcher

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" 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.

Murmur (server) dependencies

Dependencies: Qt4, speex

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"

Now stop being root and get and compile the mumble tarball as written in the section #Installing_from_source.

For Debian / Ubuntu

The following command makes sure you have the needed libraries and dependencies installed to build Mumble and Murmur from source!

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 libzeroc-ice-dev libpulse-dev slice2cpp

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

Now go on to the section #Installing_from_source.

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

For more configuration options on the qmake command read the supplied INSTALL file.

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

If you want to compile Murmur (Mumble server) only, then type

qmake main.pro CONFIG+=no-client
make

Note: If you are using Debian/Ubuntu with both Qt3 and Qt4 installed use the command "qmake-qt4" instead of "qmake"

Text to Speech

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

Run Mumble

cd release
./mumble

Run Murmur