Installing Mythtv From svn

Before you can compile MythTV, you need to download quite a few packages, otherwise the compilation will give you errors.

I also download some extra packages that I use as additions to mythtv, I might use them to play movies, watch dvds, or to test video cards.

These are the extra packages that I install:

#yum install mplayer mplayer-skins xawtv transcode xmltv xine librom1394 akode

If you intalled mythtv from a repository, please uninstall it first:

#rpm -qa | grep myth | xargs rpm -e

To download the packages you'll need to compile mythtv do:

#yum install gcc-c++ freetype-devel qt-devel mysql-devel \
subversion mesa-libGLU-devel libXv-devel \
libXxf86vm-devel libXmu-devel qt-MySQL libXvMC-devel kdelibs-devel \
lame lame-devel

To download the packages to compile mythplugins do:

#yum install fftw2 fftw2-devel libid3tag libid3tag-devel libmad-devel \
libtiff-devel libcdaudio-devel SDL-devel \
cdparanoia-devel libexif-devel fftw3 fftw3-devel libvorbis-devel \
faac faac-devel faad2 faad2-devel taglib taglib-devel \
dvdauthor python-imaging-devel MySQL-python \
libvisual libvisual-devel flac-devel

In mythtv's home directory create a directory called mythtv-svn and get into it:

$cd ~
$mkdir mythtv-svn
$cd mythtv-svn

Now download MythTV, MythPlugins and MythThemes from svn:

$svn co http://svn.mythtv.org/svn/trunk/mythtv
$svn co http://svn.mythtv.org/svn/trunk/mythplugins
$svn co http://svn.mythtv.org/svn/trunk/myththemes

After the packages are downloaded, you need to compile them. I'm going to put here my configuration options, you can put your own to suit your needs. The compilation time of MythTV is quite long, so when you start compiling it you might want to do something else in the meantime. To compile mythtv do the following:

$cd mythtv
$./configure --prefix=/usr --enable-dvb --enable-xvmc --enable-directfb --enable-proc-opt
$qmake PREFIX=/usr mythtv.pro
#make install
#chmod +s /usr/bin/mythfrontend
$cd ..

Notice that in the last command I suid'ed mythfrontend to increase its run level. If you run mythfrontend as the mythtv user it might struggle with HDTV.

Now I'm compiling MythPlugins without MythPhone, MythFlix and ZoneMinder as I'm not using them.


$cd mythplugins
$./configure --prefix=/usr --enable-all --disable-mythphone \
--disable-mythflix --disable-mythzoneminder --disable-mythbrowser \
--disable-mythnews --disable-mythmovies
$qmake PREFIX=/usr mythplugins.pro
#make install
$cd ..

Now to compile MythThemes, do the following:

$cd myththemes
$./configure --prefix=/usr
$qmake PREFIX=/usr myththemes.pro
#make install
$cd ..

This is the end of the installation of MythTV, MythPlugins and MythThemes, but before you can do anything else you still need to Activate MySQL and install the MythTV database.


Continue Shoppping View Cart
Continue Shoppping View Wishlist