[mythtv-users] Errors when compiling from source

Paul Gestwicki pvgestwicki at bsu.edu
Wed Jul 18 03:24:15 UTC 2007


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.

Note that this seems to be the same error encountered by others, e.g.
http://www.gossamer-threads.com/lists/mythtv/users/243517?do=post_view_threaded
However, that user's problems were fixed with a "make install", but
mine were not.

I would appreciate a push in the right direction.

Many thanks,
 -Paul


More information about the mythtv-users mailing list