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.
- mythtv
- mythplugins
- myththemes
Get the code
mythtv
Build mythtv.
qmake mythtv.pro
make
sudo make install
mythplugins
Make sure that you have all dependent packages by build dependenses or by installing the required package by looking at the output from configure and install the one by one.
When building mythplugins I disable some modules I'm not intrested in. It's up to you to enable/disable, check first with --help command.
qmake mythplugins.pro
make
sudo make install
myththemes
Changedir to myththemes and youst install it
qmake myththemes.pro
sudo make install
Platform configurations
When you have built all you can ensure that you has the actual mythtv activated.
First make or change the symbolic link.
ln -s /usr/local/mythtv-0-19-fixes /usr/local/mythtv
I also had to link the directory with themes, otherwise the themes was not found.
The system must know where all libmythtv libraries are this we fix by editing /etc/ld.so.conf and add the following row.
Now load the paht with ldconfig
Edit /etc/login.defs or /etc/profile and ensure that the PATH has mythtv/bin in it.
---/etc/login.defs---
ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/mythtv/bin
or update PATH in your .bashrc file.