[mythtv] Using my main mythtv box for development

Colin Guthrie mythtv at colin.guthr.ie
Mon Apr 23 00:02:05 UTC 2007

Roo wrote:
> When you upgrade you need to run mythtv-setup, this will upgrade the DB
> Schema for you. After installing the newly compiled binaries and before
> starting mythbackend just run mythtv-setup and watch the log file, if
> the DB Schema needed to be updated you should see a log message stating
> it was/is updated to version N.

You shouldn't /need/ to run mythtv-setup to upgrade the schema. The main
schema is stored in libmyth AFAIK and any myth progam (backend,
frontend, setup) will undertake to update the schema. Certainly last
time I upgraded and ran mythbackend it did the schema update.

> One thing that caught me out is:
> It seems you need to compile mythtv first **and install** it before
> compiling the plugins. When the plugins are compiled they use the myth
> libraries from the installation directory. I didn't realise this until
> recently when I had a problem compiling mythmusic, it wouldn't build
> because it was using the old installed libraries instead of the newly
> compiled libraries in the mythtv source tree.

Make sure that you don't end up with two installs. I'm not sure where
Gentoo puts it's installs (I'm guessing the whole distro is not in
/usr/local!!) but you could end up with one install in /usr (your
systems install) and another in /usr/local (what you build from svn).

If you have two versions installed, compiling plugins could get
confusing if they use the wrong version of the sources etc.

I'd recommend purging your system myth before doing the final "make
install" of svn so as to save your sanity ;)



|     Colin Guthrie      |
| myth(at)colin.guthr.ie |
| http://colin.guthr.ie/ |

More information about the mythtv-dev mailing list