
drescherjm at gmail
Feb 25, 2012, 5:18 PM
Post #8 of 12
(606 views)
Permalink
|
|
Re: Compiling mythtv and running without installing.
[In reply to]
|
|
On Sat, Feb 25, 2012 at 8:10 PM, Jean-Yves Avenard <jyavenard [at] gmail> wrote: > Hi > > On 26 February 2012 11:58, John Drescher <drescherjm [at] gmail> wrote: >>> I compile mythtv like so: >>> >>> ./configure --prefix=/home/jyavenard/build --compile-type=debug >>> >>> I do make && make install as usual >>> >>> To run it: >>> >>> LD_LIBRARY_PATH=/home/jyavenard/build/lib >>> /home/jyavenard/build/bin/mythfrontend >>> >> >> Makes sense to me. Thanks. I will try later. > > I know that some people will frown on me giving this info.. But this > is the development mailing list, it supposes you know what you are > doing > > However, if you are running a 0.24 production system, and want to > compile master ; you may find yourself with an unworking system > because the database schema has been updated... > > For such situation, I compile with: > ./configure --prefix=/home/jyavenard/build --compile-type=debug > --extra-cxxflags='-D IGNORE_SCHEMA_VER_MISMATCH > -DIGNORE_PROTO_VER_MISMATCH' > > I mostly work with mythavtest for my purpose, so running a 0.25 build > test against a 0.24 backend works fine. > No so when running the fully fleged mythfrontend, LiveTV will not work > at all and neither will playing recordings. > But Videos work > > The configure command above ensure that no database will ever be > upgraded when running the test system, and it won't error-out when > running the test build and the version differs. > Good to know. And yes I do understand the implications of this. I have a similar schema version / database upgrade system in my current application (medical imaging research) at work. MythTV gave me the idea to implement that. Anyways, at first I plan to look at a few current issues I have with 0.24.2 however I may need this in the future.. Thanks a lot, John _______________________________________________ mythtv-dev mailing list mythtv-dev [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-dev
|