Installing MythTV SVN on Debian Sid

From MythTV Official Wiki
Revision as of 14:26, 15 February 2006 by Gregturn (talk | contribs) (Getting MythTV)

Jump to: navigation, search

Information

This is a Tutorial to installing MythTV on a new installed Debian SID Machine.

Getting the necessary Debian Packages

now at first we need the mysql server:

apt-get install mysql-server

and of course the config of the mysql server in the current sid is also broken we need to fix it. open the my.cnf in /etc/mysql and add a "#" for the following lines:

#old passwords
#bind-address

now edit the debian.cnf and enter a valid mysql root user account.

at next step we need to add 2 more sources to our sources.list

deb ftp://ftp.nerim.net/debian-marillat/ sid  main
deb-src ftp://ftp.nerim.net/debian-marillat/ sid  main

now we can get the rest of the needed package to build myth via:

Gotcha 1: there was a reference in one giant line here, split for testing purposes. Some packages are NOT found in either default sources or added ones (see above). Problem 1: kde-base (try kde) or remove before pressing enter after pasting to commandline. Problem 2: libqt3-mt-mysql If you remove it from commandline line works ok


apt-get update
apt-get install subversion subversion-tools
apt-get install kde-base liblame0 liblame-dev
apt-get install libqt3-headers 
apt-get install libmysqlclient10-dev libvorbis-dev
apt-get install libartsc0-dev libasound2-dev
apt-get install libqt3-mt-dev libqt3-mt-mysql
apt-get install phpmyadmin xmltv devscripts  
apt-get install liblircclient-dev liblircclient0
apt-get install libdvdnav-dev libflac-dev
apt-get install libmad0-dev libcdaudio0-dev
apt-get install libcdparanoia0-dev libid3tag0-dev
apt-get install fftw-dev libsdl1.2-dev
apt-get install kdelibs4-dev libdvdread3-dev
apt-get install festival-dev festival
apt-get install libxml-simple-perl libdvdcss2
apt-get install ffmpeg transcode w32codecs
apt-get install xvid4conf avidemux dvdstyler
apt-get install libxinerama-dev libxxf86vm-dev
apt-get install libtiff4-dev

-

Getting MythTV

Now you can get mythtv:

svn co http://cvs.mythtv.org/svn/trunk/mythtv

This creates a folder called mythtv where the actual sources are in.

cd mythtv

and compile it with something like:

 ./configure --prefix=/usr/local --arch=athlon-xp --enable-dvb --enable-dvb-eit
make
make install

The configure line above is only an example. In this example, the installation is configured to be under /usr/local. If you want to put it somewhere else, you can alter the --prefix argument. Run ./configure --help to see what options are available and necessary for you.

Starting MythTV

now you can setup mythbackend via mythtv-setup.