Get MythTV from the mythtv.org web site. Save the tarball to a directory you can find.
Get XMLTV from http://xmltv.sourceforge.net. Download version 0.5.8
Get lame from http://www.mp3dev.org/mp3. Download the source code to v3.93.1 by following the links to sourceforge.net
If
you've got a system with an AMD K6-2 or a VIA C3 processor, make the
following change in the settings.pro
file.
Look for
-march=pentiumproand replace it with
-march=i586before you compile.
Recent AMD processors, like the Duron, Thunderbird and Athlon don't need this change.
Open a shell and switch to the directory where you saved lame.
$ tar -xzf lame-3.93.1.tar.gz
$ cd lame-3.93.1
$ ./configure
$ make
$ make test
$ su
# make install
Check that it worked:
# ls -l /usr/local/lib
-rw-r--r-- 1 root root 381706 Nov 4 14:22 libmp3lame.a
-rwxr-xr-x 1 root root 674 Nov 4 14:22 libmp3lame.la*
lrwxrwxrwx 1 root root 19 Nov 4 14:22 libmp3lame.so ->
libmp3lame.so.0.0.0*
lrwxrwxrwx 1 root root 19 Nov 4 14:22 libmp3lame.so.0 ->
libmp3lame.so.0.0.0*
-rwxr-xr-x 1 root root 360197 Nov 4 14:22
libmp3lame.so.0.0.0*
# exit
$
NOTE: Red Hat Linux 8.0 and Suse 8.1 users, you must download and install an updated version of libexpat. The version that ships with Red Hat Linux 8.0 and Suse 8.1 (version 1.95.4) is buggy, and will cause problems with XML::Twig. All other distributions may skip this step and proceed with untar'ing the xmltv file.
If you get errors installing XML::Twig or other XMLTV prerequisites, try deleting the old versions of libexpat
$ su
# rm -f /usr/lib/libexpat*
# /sbin/ldconfig
# exit
Download version 1.95.5 from sourceforge.net: http://sourceforge.net/projects/expat/
Open a shell prompt:
$ tar -xzf expat-1.95.5.tar.gz
$ cd expat-1.95.5
$ ./configure
$ make
$ su
# make install
# /sbin/ldconfig
# exit
$
NOTE: Red Hat Linux 8.0 users, make sure that you set your LANG as described in Section 4.
Continuing on:
$ tar -xjf xmltv-0.5.8.tar.bz2
$ cd xmltv-0.5.8
Install the xmltv prerequisites:
$ su
# perl -MCPAN -e shell
cpan> install XML::Twig
cpan> install Date::Manip
Date::Manip is up to date.
cpan> install LWP
cpan> install XML::Writer
cpan> exit
Change to the XMLTV directory and compile it:
$ cd xmltv-0.5.8
$ perl Makefile.PL
You can answer "N" to the tv_check, tv_pick_cgi questions. Say "yes" to
the grabber required for your location.
You may get errors about modules not being installed. They shouldn't matter if you're installing North America and have followed the instructions to this point.
$ make
$ make test
$ su
# make install
# exit
Unpack MythTV
$ tar -xjf mythtv-0.8.tar.bz2
$ cd mythtv-0.8
$ ./configure
$ make
NOTE for Red Hat 8 users only: You must manually modify a Makefile within the themes directory, otherwise your on screen display (OSD) will be "generic" rather than themed. The solution is to edit the Makefile within the themes directory and comment out (using a # symbol before each line) every line that starts with the word "strip". Make sure you switch back to the MythTV build directory before executing the next step.
Switch to superuser:
$ su
# make install
# exit
Installation of MythTV on Gentoo consists of making a local portage directory with the necessary ebuild and digest files. Tony Clark mailto:tclark@telia.net has created a portage file which can be downloaded from http://smalltime.com/mythtv/mythtv-gentoo-portage.tar.bz2
Once you have downloaded the portage file, installation is simple.
$ su -
# emerge rsync # make sure portage is up to date.
# cd /usr/local
# tar xvfjp Path_To/mythtv-gentoo-portage.tar.bz2
# vi /etc/make.conf
Add mysql to your USE variable. ie USE="mysql ...."
Locate the line that contains: #/usr/local/portage
and remove the #
# ACCEPT_KEYWORDS="~x86" emerge mythtv
NOTE: If you have perl dependency problems update to >=ExtUtils-MakeMaker-6.05-r4
Debian packages for MythTV and some of its add-on modules have been packaged by Matt Zimmerman mailto:mdz@debian.org and are available at http://dijkstra.csh.rit.edu:8088/~mdz/debian/dists/woody/mythtv/, including installation instructions. All of the prerequisites for MythTV are available as Debian packages.
The mailing list message for this announcement can be accessed at http://www.snowman.net/pipermail/mythtv-dev/2002-November/001116.html.