[mythtv-users] Building mythplugins

Dave Sherohman esper at sherohman.org
Thu Oct 20 10:53:00 EDT 2005


Finally got around to downloading the mythplugins tarball and trying
to set that up, primarily to get MythVideo so I can watch stuff that
didn't come off of cable.  The FAQ is extremely vague about what each
plugin would be used for, but I think I've correctly narrowed it down
to wanting MythWeb (which I assume is what the .configure calls
"mythbrowser" - any chance of getting this name changed so that it's
called the same thing everywhere?), MythGallery, MythVideo, and
MythWeather.  I expected to want MythDVD also, but it appears from
the FAQ that you use MythDVD *only* if you want to rip DVDs, not just
to play them; is this correct?  (Is DVD playback handled by
MythVideo, then?)

Anyhow, I seem to have stumbled across some undocumented
dependencies.  webpage.h in the mythbrowser directory complains that
it can't find kapplication.h, kcmdlineargs.h, klocale.h, kurl.h, or
kparts/browserextension.h.  From the pattern in the filenames, I
would tend to assume that these are from some KDE library or other,
but (as a non-user of KDE (or GNOME, for that matter; a plain old
window manager is all I need)) I have no idea what librar(y|ies) that
would be.  I'm also completely baffled as to why a webpage generator
would be dependent on GUI code (even if it's just for the plugin's
configuration screen, why would it need GUI code that isn't needed by
the host application?), so perhaps I'm wrong and it's not KDE at all.

The full output of make follows, but my basic question is:  What
additional dependencies do I need to install (beyond the apache and
PHP documented in the FAQ) to get this to build?

--- cut here ---

cd mythbrowser && make -f Makefile
make[1]: Entering directory `/root/mythtv/mythplugins-0.18.1/mythbrowser'
cd mythbrowser && make -f Makefile
make[2]: Entering directory
`/root/mythtv/mythplugins-0.18.1/mythbrowser/mythbrowser'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DHAVE_MMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I.  -I/usr/local/include -I/usr/include/kde -I/opt/kde3/include -I/usr/include/qt3 -o main.o main.cpp
main.cpp:15:26: kapplication.h: No such file or directory
main.cpp:16:26: kcmdlineargs.h: No such file or directory
main.cpp:17:21: klocale.h: No such file or directory
In file included from tabview.h:4,
                 from main.cpp:18:
webpage.h:6:26: kapplication.h: No such file or directory
webpage.h:7:25: kmainwindow.h: No such file or directory
webpage.h:8:18: kurl.h: No such file or directory
webpage.h:9:37: kparts/browserextension.h: No such file or directory
In file included from tabview.h:4,
                 from main.cpp:18:
webpage.h:15: error: parse error before `{' token
webpage.h:23: error: parse error before `const'
webpage.h:24: error: destructors must be member functions
webpage.h:28: error: parse error before `public'
webpage.h:30: error: parse error before `&' token
webpage.h:32: error: parse error before `&' token
webpage.h:35: error: `KIO' was not declared in this scope
webpage.h:35: error: parse error before `::' token
webpage.h:39: error: syntax error before `:' token
webpage.h:41: error: parse error before `&' token
In file included from main.cpp:18:
tabview.h:6:26: kapplication.h: No such file or directory
tabview.h:7:25: kmainwindow.h: No such file or directory
In file included from main.cpp:18:
tabview.h:45: error: parse error before `&' token
tabview.h:47: error: parse error before `&' token
main.cpp:27: error: syntax error before `[' token
main.cpp: In function `int main(int, char**)':
main.cpp:65: error: `KCmdLineArgs' undeclared (first use this function)
main.cpp:65: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cpp:65: error: parse error before `::' token
main.cpp:67: error: `args' undeclared (first use this function)
main.cpp:67: error: parse error before `::' token
main.cpp:78: error: `KApplication' undeclared (first use this function)
main.cpp:78: error: parse error before `(' token
main.cpp:80: error: `a' undeclared (first use this function)
main.cpp:62: warning: unused variable `char usage[53]'
main.cpp:58: warning: unused parameter `int argc'
main.cpp:58: warning: unused parameter `char**argv'
/usr/include/c++/3.3/bits/locale_facets.h: At top level:
main.cpp:25: warning: `const char*version' defined but not used
make[2]: *** [main.o] Error 1
make[2]: Leaving directory
`/root/mythtv/mythplugins-0.18.1/mythbrowser/mythbrowser'
make[1]: *** [sub-mythbrowser] Error 2
make[1]: Leaving directory `/root/mythtv/mythplugins-0.18.1/mythbrowser'
make: *** [sub-mythbrowser] Error 2



More information about the mythtv-users mailing list