homepage | forum | wiki | feature requests & bugs

Installation on Hardy

From Mms-wiki

Jump to: navigation, search

[edit] Summary

How to compile the release candidate of MMS (currently 1.1.0-rc6) on Hardy Heron Ubuntu or Xubuntu

Author: "Marko Polo"

Caveats: This guide was NOT written by a developer, so I can't promise you this is the optimal way to compile mms. All I can tell you is that the steps below work for me. I have never tested using MMS with the program guide, or live TV. So if you are interested in any of those features I can not promise you it will work. If you see a dependency I left out be sure and let me know and/or modify this page.

[edit] Before you start

If you don't want to compile mms from source there are debs for Ubuntu available in the Forum (including one for Hardy):


Note this guide assumes you have already installed and configured lirc. If you have not done this you can find a very good guide on the Ubuntu Wiki

[edit] How to compile 1.1.0-rc6 on Ubuntu Hardy Heron

Step 1: Download & untar the MMS source

wget http://mms.sunsite.dk/mms-1.1.0-rc6.tar.bz2

then untar it by running

tar -xjvf mms-1.1.0-rc6.tar.bz2

Step 2: Make sure you have the packages needed to build mms

sudo apt-get install build-essential autoconf 

Step 3: Install dependencies and other packages need to build

You can do this with a single "apt-get" command, but to make the formatting look nicer in this wiki I am breaking it into three parts:

sudo apt-get install libimlib2-dev libsdl1.2-dev libalsaplayer-dev libxss-dev libtag1-dev libncurses5-dev libpcre3-dev 
sudo apt-get install liblircclient-dev libtool gettext libsqlite3-dev libgtk2.0-dev libcommoncpp2-dev inotify-tools  
sudo apt-get install libinotifytools0-dev alsaplayer alsaplayer-daemon xine-ui python2.4-dev ffmpeg libboost-dev mplayer

Step 4: move into your mms source directory

cd mms-1.1.0-rc6

Step 5: Run the configuration script

If you like, you can find out what compile options are available by simply running ./configure --help

Since I have no interest in video games or using mms to watch live TV, I use the following compile options:

./configure --enable-lirc --enable-opengl --enable-weather --disable-epg --enable-clock --enable-notify-area --enable-ffmpeg-thumb

Note, I have chosen to use the ffmpeg thumbnailer ( --enable-ffmpeg-thumb) because I have found it to be far more problem free when you have a diverse collection of videos.

Step 6: Run "make"

make

On my system it took about 20 minutes for make to do it's thing.

If there are no serious errors you get a summary of compile options telling you which features will be enabled in mms. You are now ready to move on to step 7.


Step 7: Install mms When the make is done running you can install mms by running

sudo make install


Step 8: Running mms for the first time By default, mms compiles with lirc as the input device. So for the first test of mms you will want to override this and use the keyboard for your first test by running:

mms -i keyboard

If you see the mms interface, you are probably ready to go on to configuring mms to work with lirc and adding the paths to your media folder to the mms configuration files.

Personal tools