Installing MythTV from git

If you want to compile MythTV you'll need to install a few packages:

yum install git \
desktop-file-utils freetype-devel gcc-c++ mysql-devel qt4-devel phonon-devel lm_sensors-devel \
lirc-devel nasm yasm-devel lm_sensors ffmpeg \
libXmu-devel libXv-devel libXvMC-devel libXxf86vm-devel mesa-libGLU-devel xorg-x11-proto-devel \
xorg-x11-drv-intel-devel xorg-x11-drv-openchrome-devel \
libGL-devel libGLU-devel faad2-devel fftw-devel flac-devel gsm-devel lame-devel libdca-devel \
libdvdnav-devel libdvdread-devel libfame-devel libogg-devel libtheora-devel \
libvorbis-devel mjpegtools-devel taglib-devel transcode x264-devel xvidcore-devel \
alsa-lib-devel arts-devel jack-audio-connection-kit-devel pulseaudio-libs-devel kernel-headers \
libavc1394-devel libiec61883-devel libraw1394-devel directfb-devel \
libvdpau-devel perl python-devel libexif-devel zlib-devel \
libcdaudio-devel cdparanoia-devel libvisual-devel SDL-devel ncurses-devel libtermcap-devel\
perl-XML-XPath  perl-Image-Size  perl-DateTime-Format-ISO8601 perl-SOAP-Lite qt-webkit-devel\
perl-MythTV python-MythTV python-lxml python-oauth perl-Date-Manip perl-XML-Simple perl-XML-XPath qtwebkit-devel

One I tried to compile MythTV, I was getting the following error:

/usr/bin/ld: cannot find -lvdpau

To find out the problem I did the following:

ldconfig -v |grep vdpau

And this told me that /usr/lib/libvdpau.so didn't exist:

ldconfig: Cannot stat /usr/lib/libvdpau.so: No such file or directory
        libvdpau.so.1 -> libvdpau.so.260.19.44

The way to fix it was to do the following:

cd /usr/lib
rm libvdpau.so
ln -s libvdpau.so.1 libvdpau.so

Then I got the mythtv source from git:

mkdir /video/support
cd /video/support
git clone -b fixes/0.24 git://github.com/MythTV/mythtv.git
git clone -b fixes/0.24 git://github.com/MythTV/mythweb.git

Once I had the sources, I started compiling.

First mythtv:

cd /video/support/mythtv/mythtv
./configure --prefix=/usr --enable-vdpau --enable-proc-opt
qmake-qt4 PREFIX=/usr mythtv.pro
make install

Then mythplugins:

cd /video/support/mythtv/mythplugins
./configure --prefix=/usr --enable-all --disable-mythzoneminder
qmake-qt4 PREFIX=/usr mythplugins.pro
make install

Now we create the MythTV database (called mythconverg) to get us started:

mysql -umythtv -pmythtv < /video/support/mythtv/mythtv/database/mc.sql


Continue Shoppping View Cart
Continue Shoppping View Wishlist