[mythtv-users] Errors when compiling from source

Nick Morrott knowledgejunkie at gmail.com
Wed Jul 18 03:36:50 UTC 2007


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?

Does mythcontext.h exist anywhere else on the system?

Are you specifying the same prefix for mythplugins/myththemes?

Did you install MythTV from binaries previously?

-- 
Nick

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list