Prepare mythtv build enviroment
Before we can build mythtv on ubuntu we has to prepare the enviroment with:
- Update sources.list
- Get mythtv and mythplugins required programs and libraries
- Get linux-headers (for dvb support)
- Get subversion
Update your sources.list
Uncomment the lines with universe repositories (lines 17 and 18, 32 and 33) by removing the initial "#" mark. Make sure that the lines (17, 18, 32, 33) has the keyword "multiverse" at the end; if not, put it there. You can download my version of sources.list.
Now update and upgrade your system.
sudo apt-get upgrade
If you're want to build from the source tree then you must install subversion (recomended).
Install all mythtv dependent packages, required to build mythtv.
If you are going to build mythplugins, then you install dependent packages or select packages depending of wanted plugins observe the output from ./configure command to find required packages)
Install linux kernel sources (for dvb support)
Check your kernel revision.
Install the kernel headers.
When building mythtv components you must have QTDIR set to your QT directory. I have set it in my .bashrc file.
Now the system is prepared to build mythtv.