[mythtv-users] mythtv-users Digest, Vol 52, Issue 65

Paul Gestwicki pvgestwicki at bsu.edu
Wed Jul 18 13:27:36 UTC 2007


> From: "Nick Morrott" <knowledgejunkie at gmail.com>
> Subject: Re: [mythtv-users] Errors when compiling from source
> On 18/07/07, Paul Gestwicki <pvgestwicki at bsu.edu> wrote:
> > Greetings,
> >
> > I have been unsuccessful in my attempts to build mythtv with plugins.
> > I have tried the downloads from mythtv.org as well as
> > http://svn.mythtv.org/svn/branches/release-0-20-fixes/.  In either
> > case, mythtv compiles without error: I run "./configure
> > --prefix=/usr/local", "make", and "sudo make install" with no
> > difficulty.  However, when I attempt to build mythplugins following
> > the same procedure, I receive this error:
> >
> > cd mytharchive && make -f Makefile
> > make[1]: Entering directory `/home/myth/myth-svn/mythplugins/mytharchive'
> > cd mytharchive && make -f Makefile
> > make[2]: Entering directory
> > `/home/myth/myth-svn/mythplugins/mytharchive/mytharchive'
> > g++ -c -pipe -Wall -W -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC
> > -D_GNU_SOURCE -DPREFIX=\"\" -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
> > -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
> > -I/usr/lib/qt3/mkspecs/default -I. -I/include -I/usr/kde/3.3/include
> > -I/include -I/include/mythtv -I/usr/lib/qt3//include -o main.o
> > main.cpp
> > main.cpp:19:32: error: mythtv/mythcontext.h: No such file or directory
> > --snip--
> >
> > This is followed by more "No such file or directory" errors and other errors.
> >
> > Looking at mytharchive's main.cpp, it references
> > <mythtv/mythcontext.h> explicitly, but this file is never put in
> > /usr/local/include when I install mythtv.
>
> What is installed to /usr/local/include/mythtv/ after installing MythTV core?

It contains:
dvdnav/  ffmpeg/  mpeg2dec/  samplerate.h

>
> Does mythcontext.h exist anywhere else on the system?

Yes, where I downloaded and unpacked the mythtv archive, in the
subdirectory libs/libmyth.

>
> Are you specifying the same prefix for mythplugins/myththemes?

Yes, /usr/local.

>
> Did you install MythTV from binaries previously?

Yes, although I never used it.  I tried "urpmi mythtv" to see what
would happen.  It downloaded a package from plf, which I then
immediately uninstalled via urpme.


More information about the mythtv-users mailing list