MythTV 0.24 Compilation Notes

I compiled mythtv-0.24.2-17 and mythplugins-0.24.2 for an older linux distribution, Fedora Core 7 (fc7). Why did I do this? (see Note 1)

In order to compile mythtv, I needed to resolve many of the dependencies myself. To help someone else, who may need to do something similar, I'm writing these notes.

I was able to use "yum" to install some of the packages; others I needed to compile. I kind of thrashed around trying to resolve dependencies. I believe that if you use the order below, it may work. It took me sometime to get mythbackend and mythweb to work, so I will not repeat it to test the procedure below. Take it for what it's worth.

First, the packages that yum should find for fc7:

libdrm-devel-2.3.0-5.fc7
libXt-devel-1.0.4-1.fc7
libSM-devel-1.0.2-1
libICE-devel-1.0.3-2.1.fc7
libxkbfile-devel-1.0.4-1.fc7
libfontenc-devel-1.0.4-2.fc7
libXfont-devel-1.2.9-3.fc7
libXfont-1.2.9-3.fc7
libXxf86misc-devel-1.0.1-3.1
libXxf86vm-devel-1.0.1-3.1
libXmu-devel-1.0.3-1.fc7
libXaw-devel-1.0.2-8.1
libxkbui-1.0.2-4.1
libxkbui-devel-1.0.2-4.1
git-1.5.3.3-3.fc7
gitk-1.5.3.3-3.fc7
git-gui-1.5.3.3-3.fc7
git-email-1.5.3.3-3.fc7
git-cvs-1.5.3.3-3.fc7
git-arch-1.5.3.3-3.fc7
git-svn-1.5.3.3-3.fc7
git-core-1.5.3.3-3.fc7
perl-Git-1.5.3.3-3.fc7
cvsps-2.1-4.fc6
subversion-perl-1.4.4-1.fc7
tla-1.3.5-4.fc7
libXinerama-devel-1.0.2-1.fc7
python-lxml-1.3.6-1.fc7
perl-Net-UPnP-1.2.1-1.fc7.rf

Also, some for which I could find rpm packages:

libxkbui-devel-1.0.2-4.1.i386.rpm
libxkbui-1.0.2-4.1.i386.rpm
perl-Net-UPnP-1.2.1-1.fc7.rf.noarch.rpm

Next, some compiles that need to be done first:

re2c-0.13.5
lemon.c (Note 2)

Now, you should be able to compile these and then mythtv:

yasm-1.2.0
qt-all-opensource-src-4.5.0
xorg-server-1.3.0.0
mythtv-0.24.2-17 (Note 3)

Finally, you need version 5.3 of PHP to run mythweb 0.24. Compile PHP and mythplugins:

php-5.3.10 (Note 4)
mythplugins-0.24.2

--------

Note 1 -- Of course, the best way to install the newest version of MythTV, is to install the latest version of your favorite linux distribution first. I've used Fedora distros for some time, so I stay with it. With the latest linux distro, you can install MythTV with a package installer such as "yum." Having gone through the pain (see above) of finding and installing/compiling the dependencies myself, I really appreciate yum as never before. :-)

Note 2 -- Lemon ( https://www.sqlite.org/src/doc/trunk/doc/lemon.html) is needed to compile the sqlite extension with PHP. You only need to compile the one source file and put the executable in your PATH. You can find the c file on sqlite.org or here.

Note 3 -- I used "git" to obtain the lastest fixes of mythtv 0.24.2

Note 4 -- It took me a while to determine the necessary PHP extensions to run mythweb 0.24. These confiture options worked for me:

./configure --with-apxs2 \
            --with-mysql \
            --with-mysqli \
            --enable-mysqlnd \
            --with-zlib \
            --enable-xml

To contact me, please write to:   mike [at] PCfellow [dot] com  


 

Disclaimer. The information contained in this archive is provided 'as is' without warranty of any kind. The entire risk as to the results and the performance of the information is assumed by the user, and in no event shall PCfellow.com, the author or contributors, the owners, administrator and/or maintainers be liable for any consequential, incidental or direct damages suffered in the course of using the information in this archive. Use of the information contained in this archive are governed by their respective license agreements and may contain restrictions on use.