Skip navigation.

Build mythtv

Building mythtv

When building mythtv I set the configuration --prefix to the release/branch and then I have a symbolic link to the active mythtv.
In these sampels I have built the mythtv-0.19-fixes branch. When building different releases just change the --prefix to your release/branch and change the symbolic link /usr/local/mythtv to point to the release.
If it's the first time you will build mythtv, then you has to first prepare mythtv build enviroment
Build in this order. If you rebuild some parts then rebuild all following parts also.

  1. mythtv
  2. mythplugins

Update mythtv to release 0.20

Before upgrading shut down the backend on the server.

sudo /etc/init.d/mythtv-backend stop

Backup the database

mysqldump -umtyhtv -pmythtv mythtrunk > mythtrunk-pre0.20.sql

Download the packages from mythtv.org download page. Make sure that you have your system prepared for building myth.
Unpack the tar archive

tar xjf mythtv-0.20.tar.bz2
tar xjf mythplugins-0.20.tar.bz2

Change to mythtv directory, configure and build the version.

./configure --prefix=/usr/local/mythtv-0.20 --dvb-path=/usr/src/linux-headers-`uname -r`/include --enable-dvb --enable-xvmc

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

gedit /etc/apt/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.

mythtv doesn't build on upgraded ubuntu dapper

|

After upgrading ubunto to dapper from breezy mythtv get some compiler errors. You must reinstall mesa-common-dev packages to get it to work again.
Errors:

make
...snipp...
/usr/include/GL/glu.h:331: error: "GLenum" has not been declared
/usr/include/GL/glu.h:331: error: "GLdouble" has not been declared
/usr/include/GL/glu.h:332: error: "GLdouble" has not been declared
/usr/include/GL/glu.h:332: error: "GLvoid" has not been declared
/usr/include/GL/glu.h:333: error: "GLint" does not name a type
/usr/include/GL/glu.h:334: error: "GLint" does not name a type
/usr/include/qt3/qsqldatabase.h:63: varning: "class QSqlDriverCreatorBase" has virtual functions but non-virtual destructor

Syndicate content