[mythtv-users] MythTivo Compile (was: Biggest, baddest MythTV)

Steven J. Finnegan sjf at controlsoftcorp.com
Fri Jun 20 09:33:39 EDT 2003


Well, I figured out the fix to this problem.

1) Change line #63 in mythtivo main.cpp from
             gContext = new MythContext();
to
             gContext = new MythContext(MYTH_BINARY_VERSION);

2) Change the LIBS line in Makefile from
         LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib 
-L/usr/local/lib -lmyth-0.8 -llirc_client -lqt-mt
to
         LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib 
-L/usr/local/lib -lmyth-0.9 -llirc_client -lqt-mt


That it! MythTivo will now compile and install.

sjf

At 21:28 6/19/2003, you wrote:
Content-Transfer-Encoding: 7bit
>From: Ian Forde <ian at duckland.org>
>Precedence: list
>Subject: Re: [mythtv-users] Biggest, baddest MythTV
>Date: 19 Jun 2003 21:16:11 -0700
>To: Discussion about mythtv <mythtv-users at snowman.net>
>References: <5.2.0.9.2.20030619100331.02c151c8 at pandora.controlsoftcorp.com>
>In-Reply-To: <5.2.0.9.2.20030619100331.02c151c8 at pandora.controlsoftcorp.com>
>Reply-To: Discussion about mythtv <mythtv-users at snowman.net>
>Message-ID: <1056082571.1422.7.camel at colgate2.iforde.net>
>Content-Type: text/plain
>MIME-Version: 1.0
>Message: 29
>
>I ran into the same thing.  The only way I found I could get it to
>compile was to make sure that I still had the 0.8 libraries on the box,
>then playing games with having the 0.8 stuff in /usr/local/include
>versus the 0.9 era stuff... it's nasty, but there it is...
>
>Safest play?  Install 0.8 on a different box, build mythtivo on it, then
>go to the 0.9 box, copy the 0.8 libs over, along with a built tarball of
>mythtivo, go to the mythtivo directory, and do a make install...
>
>But you'd have to be pretty adventurous do try it! ;)
>
>Unless, of course, the author of MythTivo is willing to update the code
>to 0.9.1 *hint* *hint*!
>
>         -I
>
>On Thu, 2003-06-19 at 10:07, Steven J. Finnegan wrote:
> > >I still use the Tivo on occasion, but really it's more of a third backend
> > >since I can access any recording on it from any Myth frontend via 
> MythTivo.
> >
> > How have you been able to compile MythTivo? I would be VERY interested in
> > using this feature, but I currently get an error when compiling...
> >
> > g++ -c -pipe -Wall -W -O3 -march=pentium -fomit-frame-pointer
> > -funroll-loops -fexpensive-optimizations -finline-functions
> > -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG
> > -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I.
> > -I/usr/local/include -I/usr/lib/qt-3.1/include -o main.o main.cpp
> > main.cpp: In function `int main(int, char**)':
> > main.cpp:63: no matching function for call to `MythContext::MythContext()'
> > /usr/local/include/mythtv/mythcontext.h:60: candidates are:
> >     MythContext::MythContext(const MythContext&)
> > /usr/local/include/mythtv/mythcontext.h:63:
> >     MythContext::MythContext(const QString&, bool = true)
> > make[1]: *** [main.o] Error 1
> > make[1]: Leaving directory 
> `/home/mythtv/sources/mythtivo/mythtivo/mythtivo'
> >



***************************************************************
Steven J. Finnegan, President
Controlsoft Corporation
Phone: (760) 747-5632
WebSite: www.controlsoftcorp.com
E-mail: sjf at controlsoftcorp.com

***************************************************************
  




More information about the mythtv-users mailing list