Compile MythTV with GIT on Centos 6.x

I used the Centos NetInstall disk, pointing it to the 6.2 repos to save on updates later.

Installed CENTOS using Minimal defalts. Once installed i installed Nano as i HATE VI but whatever you use is ok.

Step 1 – Enable CentosPLUS, Repositories etc
nano /etc/yum.repos.d/CentOS-Base.repo
Under [CentosPlus] change Enable to 1, Save and Exit

Install EPEL and RPM Fusion

rpm -Uvh
rpm -Uvh

Update your installation and reboot

yum -y update

Step 2 – Disable Nouvaeu
I guess this is optional but i need to disable Nouvaeu for nvidia drivers to work. soo

nano /boot/grub/grub.conf

Add the following to the end of the KERNEL line: rdblacklist=nouveau
Next blacklist it and rebuild initrd

echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)

finally after reboot remove the driver (if installed)

yum remove xorg-x11-drv-nouveau

Step 3 – Dev tools and Prerequisits
Install the Dev tools to build Myth, and the prerequisits

yum groupinstall 'Development Tools'
yum -y install qt-devel lame-mp3x lame-devel qtwebkit-devel perl-Net-UPnP.noarch perl-DBI perl-ExtUtils-MakeMaker python-lxml yasm MySQL-python mysql-server qt-mysql libvdpau-devel alsa-lib-devel ccache

If you are going to be using the graphical front end (IE not Backend SLAVE only on this one) install X and setup the xinitrc file
yum install xorg-x11-xinit xorg-x11-server-Xorg twm xterm
Step 4 – Download and Compile

cd /usr/src
git clone -b fixes/0.24 git:// mythtv
cd mythtv/mythtv

If everythign checks out

make install

Step 5 – Config
Configure and start database

cd database
chkconfig mysqld --level 2345 on
service mysqld start
mysql < mc.sql

Setup Libraries

echo /usr/local/lib64/ > /etc/
echo /usr/local/lib/ >> /etc/
ldconfig -v


Step 6 - Testing
Since MYTHTV keeps crashig on my i have it running in an VM environment, for testing i setup a basic config

Once i get Myth stable on this install i will update with rest config rules

15 thoughts on “Compile MythTV with GIT on Centos 6.x

  1. Thank you for every other excellent article.
    The place else could anyone get that kind of info in such an ideal method
    of writing? I have a presentation next week, andd I’m at the look for such information.

  2. Hey there! This is kind of off topic but I need some guidance from an established blog. Is it tough to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about making my own but I’m not sure where to begin. Do you have any points or suggestions? With thanks

  3. It’s amazing to pay a quick visit this site and reading the
    views of all friends concerning this article, while I am also
    keen of getting knowledge.

  4. of course like your web-site however you have
    to test the spelling on quite a few of your posts. Many of them are rife with spelling issues and I in finding it very bothersome to
    tell the reality then again I will surely come again again.

  5. It’s the best time to make some plans for the future and it is time to be happy.
    I’ve read this post and if I could I want to suggest you
    few interesting things or advice. Maybe you can write
    next articles referring to this article. I want to read more things about it!

  6. Superb site you have here but I was curious about if you knew of
    any message boards that cover the same topics talked about in this article?
    I’d really love to be a part of online community where I can get feedback from other experienced people that share the
    same interest. If you have any suggestions, please let me know.
    Appreciate it!

  7. We’re a gaggle of volunteers and starting a brand new scheme in our community.
    Your site offered us with valuable information to
    work on. You’ve done an impressive task and our entire
    community will likely be grateful to you.

  8. Having read this I believed it was extremely enlightening.
    I appreciate you finding the time and effort to put this short article
    together. I once again find myself spending a lot of time
    both reading and posting comments. But so
    what, it was still worth it!

  9. Thank you, I have just been looking for information approximately this topic for a long time and yours is the greatest
    I’ve found out so far. But, what in regards to the conclusion?
    Are you certain concerning the supply?

Leave a Reply

Your email address will not be published.