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:
If you intalled mythtv from a repository, please uninstall it first:
To download the packages you'll need to compile mythtv do:
subversion mesa-libGLU-devel libXv-devel \
libXxf86vm-devel libXmu-devel qt-MySQL libXvMC-devel kdelibs-devel \
To download the packages to compile mythplugins do:
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:
Now download MythTV, MythPlugins and MythThemes from svn:
$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:
$./configure --prefix=/usr --enable-dvb --enable-xvmc --enable-directfb --enable-proc-opt
$qmake PREFIX=/usr mythtv.pro
#chmod +s /usr/bin/mythfrontend
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.
$./configure --prefix=/usr --enable-all --disable-mythphone \
--disable-mythflix --disable-mythzoneminder --disable-mythbrowser \
$qmake PREFIX=/usr mythplugins.pro
Now to compile MythThemes, do the following:
$qmake PREFIX=/usr myththemes.pro
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.