Difference between revisions of "BuildingLinux"

From Mumble Wiki
Jump to: navigation, search
m (Building from Source moved to BuildingLinux)
Line 7: Line 7:
 
=== For Gentoo ===
 
=== For Gentoo ===
  
Note: Make sure you have sqlite and/ or sqlite3 in your USE flags in /etc/make.conf, if you haven't emerged qt4 with these before, you need to reemerge it.
+
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".
 +
 
  
emerge dev-libs/boost media-libs/speex x11-libs/libXevie x11-libs/qt (See Note)
 
  
 
=== For Debian / Ubuntu ===
 
=== For Debian / Ubuntu ===
Line 19: Line 25:
 
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.
 
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.
  
== Download the source ==
+
== 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.
  
Get the mumble source
+
=== SVN ===
  
 
  svn co https://mumble.svn.sourceforge.net/svnroot/mumble/trunk mumble
 
  svn co https://mumble.svn.sourceforge.net/svnroot/mumble/trunk mumble
 
  cd mumble/
 
  cd mumble/
  
== Compile Mumble and Murmur (Mumble server) ==
+
=== 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
 +
 
 +
Be sure to have everything installed and in place for your linux distribution (see the sections above)
 +
 
 +
 
 +
=== Compile Mumble and Murmur (Mumble server) ===
  
 
  qmake main.pro
 
  qmake main.pro

Revision as of 17:45, 18 May 2008

This guide is based 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.

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.

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

Be sure to have everything installed and in place for your linux distribution (see the sections above)


Compile Mumble and Murmur (Mumble server)

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.

Run Mumble

cd release
./mumble

Run Murmur