Difference between revisions of "BuildingLinux"

From Mumble Wiki
Jump to: navigation, search
Line 3: Line 3:
 
== Install the dependencies ==
 
== 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 Mumble/Murmur 1.1.0 and greater (including SVN), Qt 4.3 is required.
  
 
=== For Gentoo ===
 
=== For Gentoo ===
Line 17: Line 17:
 
=== For Debian / Ubuntu ===
 
=== 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
+
  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
  
 
It's recommended to remove the package qt3-dev-tools if installed.
 
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 ==
  
== Installing from source ==
 
 
The most generic approach to install mumble under any Linux is to install 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.
 
Either get the current mumble source over svn or get the latest tarball release from sourceforge.net.
Line 46: Line 45:
 
  make
 
  make
  
Alternatively, if you are using Debian:
+
Alternatively, if you are using Debian/Ubuntu with both Qt3 and Qt4 installed:
  
 
  qmake-qt4 main.pro
 
  qmake-qt4 main.pro
 
  make
 
  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==
 
==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.
+
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.
[[Link title]]
 
  
 
== Run Mumble ==
 
== Run Mumble ==

Revision as of 11:43, 24 August 2008

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

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

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

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/Ubuntu with both Qt3 and Qt4 installed:

qmake-qt4 main.pro
make

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