[mythtv-users] MythWeather on Debian

James Fraser jdfraser at telus.net
Sat Mar 29 19:51:05 UTC 2003


Long time listener first time caller....

I've got  MythTV, MythWeb, and MythMusic installed and running great on 
my Debian Unstable box, everything was super easy thanks to Matt and the 
.debs. TV Out is a bit dissapointing, but that's just my poor choice of 
a GeForce MX440. I picked it up before I researched the configuration 
issues in linux, I think I'll just go pick up a VGA-NTSC converter 
[http://www.aitech.com/wc_plus-details.htm]. But I digress, here is the 
real reason I'm emailing...
I've been curious about MythWeather and seeing that everything else was 
~so~ easy to set up and install, I thought what the hell, why not give 
it a shot. The first issue I ran into was that I didn't have the 
libqt3-dev package installed. I apt-get (got?) that package, which of 
course installed a bunch of other libs that I assumed I needed for 
libqt3. I then set my QTDIR to '/usr/share/qt3', contrary to the README 
which says it should be '/usr/share/qt'. I'm now having compile errors 
that I can't quite figure out, I'm thinking it might be becasue the 
paths are set incorrectly or something, but I was hoping from some 
direction from this list. The output 'make' is as follows, if anyone has 
any ideas I'd appreicate them.

Cheers,
Jamie

PS. Thanks to everyone who has contributed to MythTV and it's modules, 
including all the people doing support on these lists. I've been using 
them for support and the information on here has proved extremely 
useful. MythTV is a fantasic project... and much cheaper than a boat. ;)

mythtv:~/mythweather-0.8# make
cd mythweather && (gunzip -c accid.dat.gz > accid.dat) && make -f Makefile
make[1]: Entering directory `/root/mythweather-0.8/mythweather'
g++ -c -pipe -Wall -W -g -D_REENTRANT  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local\" -DQ
T_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. 
-I/usr/local/include -I/us
r/share/qt3/include -o main.o main.cpp
In file included from main.cpp:19:
weather.h:23:32: mythtv/oldsettings.h: No such file or directory
weather.h:24:32: mythtv/mythwidgets.h: No such file or directory
In file included from main.cpp:19:
weather.h:38: syntax error before `{' token
weather.h:39: virtual outside class declaration
weather.h:39: non-member function `const char* className()' cannot have 
`const'
   method qualifier
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h: In function `QObject* qObject()':
weather.h:39: invalid use of `this' in non-member function
weather.h: At global scope:
weather.h:39: syntax error before `private'
weather.h:42: destructors must be member functions
weather.h:48: syntax error before `private'
weather.h:75: syntax error before `private'
weather.h:92: `bool debug' redeclared as different kind of symbol
/usr/share/qt3/include/qglobal.h:927: previous declaration of `void 
debug(const
   char*, ...)'
weather.h:148: syntax error before `*' token
weather.h:149: syntax error before `*' token
weather.h:150: syntax error before `*' token
weather.h:151: syntax error before `*' token
weather.h:152: syntax error before `*' token
weather.h:153: syntax error before `*' token
weather.h:155: syntax error before `*' token
weather.h:156: syntax error before `*' token
weather.h:157: syntax error before `*' token
weather.h:249: syntax error before `}' token
main.cpp:21:31: mythtv/themedmenu.h: No such file or directory
main.cpp:22:32: mythtv/mythcontext.h: No such file or directory
main.cpp:24: syntax error before `*' token
main.cpp: In function `int main(int, char**)':
main.cpp:27: `int main(int, char**)' redeclared as different kind of symbol
weather.h:160: previous declaration of `QVBoxLayout*main'
weather.h:160: previous non-function declaration `QVBoxLayout*main'
main.cpp:27: conflicts with function declaration `int main(int, char**)'
main.cpp:30: `gContext' undeclared (first use this function)
main.cpp:30: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:30: syntax error before `(' token
main.cpp:47: `Weather' undeclared (first use this function)
main.cpp:47: syntax error before `(' token
main.cpp:48: `weatherDat' undeclared (first use this function)
/usr/include/c++/3.2/streambuf: At top level:
weather.h:39: warning: `bool qt_static_property(QObject*, int, int, 
QVariant*)'
   declared `static' but never defined
weather.h:39: warning: `QMetaObject* staticMetaObject()' declared 
`static' but
   never defined
weather.h:39: warning: `QString tr(const char*, const char*)' declared 
`static'
   but never defined
weather.h:39: warning: `QString trUtf8(const char*, const char*)' declared
   `static' but never defined
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/root/mythweather-0.8/mythweather'
make: *** [sub-mythweather] Error 2
mythtv:~/mythweather-0.8# set |grep QT
QTDIR=/usr/share/qt3
mythtv:~/mythweather-0.8# make
cd mythweather && (gunzip -c accid.dat.gz > accid.dat) && make -f Makefile
make[1]: Entering directory `/root/mythweather-0.8/mythweather'
g++ -c -pipe -Wall -W -g -D_REENTRANT  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local\" -DQ
T_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. 
-I/usr/local/include -I/us
r/share/qt3/include -o main.o main.cpp
In file included from main.cpp:19:
weather.h:23:32: mythtv/oldsettings.h: No such file or directory
weather.h:24:32: mythtv/mythwidgets.h: No such file or directory
In file included from main.cpp:19:
weather.h:38: syntax error before `{' token
weather.h:39: virtual outside class declaration
weather.h:39: non-member function `const char* className()' cannot have 
`const'
   method qualifier
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h: In function `QObject* qObject()':
weather.h:39: invalid use of `this' in non-member function
weather.h: At global scope:
weather.h:39: syntax error before `private'
weather.h:42: destructors must be member functions
weather.h:48: syntax error before `private'
weather.h:75: syntax error before `private'
weather.h:92: `bool debug' redeclared as different kind of symbol
/usr/share/qt3/include/qglobal.h:927: previous declaration of `void 
debug(const
   char*, ...)'
weather.h:148: syntax error before `*' token
weather.h:149: syntax error before `*' token
weather.h:150: syntax error before `*' token
weather.h:151: syntax error before `*' token
weather.h:152: syntax error before `*' token
weather.h:153: syntax error before `*' token
weather.h:155: syntax error before `*' token
weather.h:156: syntax error before `*' token
weather.h:157: syntax error before `*' token
weather.h:249: syntax error before `}' token
main.cpp:21:31: mythtv/themedmenu.h: No such file or directory
main.cpp:22:32: mythtv/mythcontext.h: No such file or directory
main.cpp:24: syntax error before `*' token
main.cpp: In function `int main(int, char**)':
main.cpp:27: `int main(int, char**)' redeclared as different kind of symbol
weather.h:160: previous declaration of `QVBoxLayout*main'
weather.h:160: previous non-function declaration `QVBoxLayout*main'
main.cpp:27: conflicts with function declaration `int main(int, char**)'
main.cpp:30: `gContext' undeclared (first use this function)
main.cpp:30: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:30: syntax error before `(' token
main.cpp:47: `Weather' undeclared (first use this function)
main.cpp:47: syntax error before `(' token
main.cpp:48: `weatherDat' undeclared (first use this function)
/usr/include/c++/3.2/streambuf: At top level:
weather.h:39: warning: `bool qt_static_property(QObject*, int, int, 
QVariant*)'
   declared `static' but never defined
weather.h:39: warning: `QMetaObject* staticMetaObject()' declared 
`static' but
   never defined
weather.h:39: warning: `QString tr(const char*, const char*)' declared 
`static'
   but never defined
weather.h:39: warning: `QString trUtf8(const char*, const char*)' declared
   `static' but never defined
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/root/mythweather-0.8/mythweather'
make: *** [sub-mythweather] Error 2
mythtv:~/mythweather-0.8# make > ../dump
In file included from main.cpp:19:
weather.h:23:32: mythtv/oldsettings.h: No such file or directory
weather.h:24:32: mythtv/mythwidgets.h: No such file or directory
In file included from main.cpp:19:
weather.h:38: syntax error before `{' token
weather.h:39: virtual outside class declaration
weather.h:39: non-member function `const char* className()' cannot have 
`const'
   method qualifier
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h:39: virtual outside class declaration
weather.h: In function `QObject* qObject()':
weather.h:39: invalid use of `this' in non-member function
weather.h: At global scope:
weather.h:39: syntax error before `private'
weather.h:42: destructors must be member functions
weather.h:48: syntax error before `private'
weather.h:75: syntax error before `private'
weather.h:92: `bool debug' redeclared as different kind of symbol
/usr/share/qt3/include/qglobal.h:927: previous declaration of `void 
debug(const
   char*, ...)'
weather.h:148: syntax error before `*' token
weather.h:149: syntax error before `*' token
weather.h:150: syntax error before `*' token
weather.h:151: syntax error before `*' token
weather.h:152: syntax error before `*' token
weather.h:153: syntax error before `*' token
weather.h:155: syntax error before `*' token
weather.h:156: syntax error before `*' token
weather.h:157: syntax error before `*' token
weather.h:249: syntax error before `}' token
main.cpp:21:31: mythtv/themedmenu.h: No such file or directory
main.cpp:22:32: mythtv/mythcontext.h: No such file or directory
main.cpp:24: syntax error before `*' token
main.cpp: In function `int main(int, char**)':
main.cpp:27: `int main(int, char**)' redeclared as different kind of symbol
weather.h:160: previous declaration of `QVBoxLayout*main'
weather.h:160: previous non-function declaration `QVBoxLayout*main'
main.cpp:27: conflicts with function declaration `int main(int, char**)'
main.cpp:30: `gContext' undeclared (first use this function)
main.cpp:30: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:30: syntax error before `(' token
main.cpp:47: `Weather' undeclared (first use this function)
main.cpp:47: syntax error before `(' token
main.cpp:48: `weatherDat' undeclared (first use this function)
/usr/include/c++/3.2/streambuf: At top level:
weather.h:39: warning: `bool qt_static_property(QObject*, int, int, 
QVariant*)'
   declared `static' but never defined
weather.h:39: warning: `QMetaObject* staticMetaObject()' declared 
`static' but
   never defined
weather.h:39: warning: `QString tr(const char*, const char*)' declared 
`static'
   but never defined
weather.h:39: warning: `QString trUtf8(const char*, const char*)' declared
   `static' but never defined
make[1]: *** [main.o] Error 1
make: *** [sub-mythweather] Error 2
mythtv:~/mythweather-0.8# cd ..
mythtv:~# cat d
dead.letter  dump
mythtv:~# cat dump
cd mythweather && (gunzip -c accid.dat.gz > accid.dat) && make -f Makefile
make[1]: Entering directory `/root/mythweather-0.8/mythweather'
g++ -c -pipe -Wall -W -g -D_REENTRANT  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local\" -DQ                  T_THREAD_SUPPORT 
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include 
-I/us                  r/share/qt3/include -o main.o main.cpp
make[1]: Leaving directory `/root/mythweather-0.8/mythweather'






More information about the mythtv-users mailing list