Howto Compile MMS 1.3.0 on Ubuntu 12.04

Everything about the new development branch of mms

Moderator: Moderator

User avatar
heymish
Posts: 36
Joined: Sat Mar 01, 2008 4:28 am
Location: New Zealand

Howto Compile MMS 1.3.0 on Ubuntu 12.04

Postby heymish » Sun May 27, 2012 5:11 am

This is what I found when I tried to compile MMS 1.3.0 on a clean Ubuntu 12.04 install.

If there are any errors or I have missed something please tell me.

You will need to instal bazaar to get the source off launchpad.

Code: Select all

sudo apt-get install bzr


Now you can download the latest copy of the source this will take a few minutes

Code: Select all

bzr branch lp:mms-ng

This will create a folder mms-ng with the source code within it

You will need some tools to compile the source there is a handy package for this

Code: Select all

sudo apt-get install build-essential


Now you will need the dependences and header files to compile against.
These will depend a little on what options you want.

[Section Name]
--enable-option
package_to_get - package name/description

So if you use --enable-option in your config you will need to run
sudo apt-get install package_to_get to install the dependency for that option


[Main]
gettext - xgettext headers and package

[Core]
libsqlite3-dev - libsqlite3 headers and package
libpcre3-dev - libpcrecpp headers and package
libtinyxml-dev - libtinyxml headers and package
libimlib2-dev - imlib2 headers and package
libncurses-dev - ncurses

[Output]
--enable-res-switch
libxrandr-dev - Xrandr headers and package
xorg-dev - X11 headers

[Lirc]
--enable-lirc
liblircclient-dev - lirc headers and package

[Mouse}


[SDL]
libsdl-dev - libsdl header

[Opengl]
--enable-opengl
freegult3-dev - opengl
mesa-common-dev (may not need)


[Weather]
--enable-weather

[Clock]
--enable-clock and --enable-notify-area

[Audio]
libtag1-dev - taglib graphical audio
libavcodec-dev - libavcodec (ffmpeg)
libxine-dev - libxine header and package

--enable-alsaplayer
alsaplayer (may not be needed)
libalsaplayer-dev - alsa
alsaplayer-daemon - alsa

[Movie]
libswscale-dev - libswscale
libavformat-dev - libavformat

[Picture]

[Games]
--enable-game

[Python]
--enable-python
python-dev - python-config

[Rip]
--enable-rip
libcdparanoia-dev - cdparanoia header and package

[Misc]

You will need to run

Code: Select all

./configure
in the mms-ng (source) directory with any options you wanted. If you do not specify any option the defaults will be used.

All options

Code: Select all

./configure --enable-res-switch --enable-lirc --enable-opengl --enable-weather --enable-clock --enable-notify-area --enable-alsaplayer --enable-game --enable-python --enable-rip --enable-debug --enable-debug


You can also use

Code: Select all

--enable-debug
to help find problems

Once

Code: Select all

./configure
has run and you see not failed's or errors you can now run

Code: Select all

make
this does the compiling. It will take some time depending on your machine

Now the final step is to run

Code: Select all

sudo make install
. This will create all the config files and copy over the compile software.

You should now be able to run mms. You might want to look into the config files to make any changes to where your media is. The config files will be in /etc/mms and ~/.mms
Last edited by heymish on Tue May 29, 2012 8:25 am, edited 4 times in total.
HAT

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: Howto Compile MMS 1.3.0 on Ubuntu 12.04

Postby lorenzodes » Sun May 27, 2012 7:39 am

Thanks for summing it up for the others :)
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
heymish
Posts: 36
Joined: Sat Mar 01, 2008 4:28 am
Location: New Zealand

Re: Howto Compile MMS 1.3.0 on Ubuntu 12.04

Postby heymish » Sun May 27, 2012 11:30 pm

Hey lorenzodes do you have the answers to my 2 questions

1) What is need to get python-config working?

2) What option is needed to turn on the X11 res switch option

Hamish
HAT

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: Howto Compile MMS 1.3.0 on Ubuntu 12.04

Postby lorenzodes » Mon May 28, 2012 5:42 am

heymish wrote:Hey lorenzodes do you have the answers to my 2 questions

1) What is need to get python-config working?


Typically python-devel.

2) What option is needed to turn on the X11 res switch option

Hamish


You need the headers for Xrandr and, of course, X11.
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"


Return to “1.2.x”

Who is online

Users browsing this forum: No registered users and 1 guest