« kitchen webcam

MythWeather in gentoo - Aug 2007

2007/07/22

  07:00:19 pm, by   , 516 words  
Categories: Gentoo Linux, MythTV

MythWeather in gentoo - Aug 2007

Ok, so the latest version of MythWeather in gentoo as of this date is still having issues because the data from the weather info provider changed in format. So, I decided to grab the latest from MythTV - apparently the mythweather-revamp work has replaced the broken older version of MythWeather.

So grab the latest plugin from mythtv.org's svn repository: (I put mine in the directory mythtrunk-2007-07-22)

# svn co http://svn.mythtv.org/svn/trunk/mythplugins/ mythtrunk-2007-07-22
[snip]
Checked out revision 14027.

change into that new directory:

# cd mythtrunk-2007-07-22/

then configure according to instructions at:

http://www.mythtv.org/wiki/index.php/Using_mythweather-reavmp_with_trunk_mythtv

# ./configure --disable-all --enable-mythweather --prefix=/usr

then compile the program:

# make
cd mythweather && /usr/bin/qmake mythweather.pro -unix -o Makefile
cd mythweather && make -f Makefile
make[1]: Entering directory `/root/mythweather-revamp/weather/mythtrunk-2007-07-22/mythweather'
cd mythweather && /usr/bin/qmake mythweather.pro -unix -o Makefile
cd mythweather && make -f Makefile
make[2]: Entering directory `/root/mythweather-revamp/weather/mythtrunk-2007-07-22/mythweather/mythweather'
g++ -c -pipe -march=pentium3 -g -D_REENTRANT -Wall -W -DPIC -fPIC -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I. -I. -o main.o main.cpp
In file included from main.cpp:16:
/usr/include/mythtv/lcddevice.h:9:26: error: qvaluevector.h: No such file or directory
/usr/include/mythtv/lcddevice.h:10:21: error: qsocket.h: No such file or directory
In file included from /usr/include/mythtv/lcddevice.h:15,
from main.cpp:16:

ARGH! >:( errors - typical but luckily (?) I've seen this recently - when I installed the unsupported MythStream plugin - the issue is my gentoo MythTV box has both QT4 and QT3 installed - MythTV wants QT3 and QT4 is coming up.

First, clean up install files that contain the wrong config data:

# make clean

then move the (or delete) then old Makefile as it contains incorrect paths:

# mv Makefile Makefile.old

Now we need to set the qt3 bin path in front of all others:

# PATH="/usr/qt/3/bin/:$PATH"

as well, we'll need to set the "QTDIR" environment directory, then configure again:

# QTDIR=/usr/qt/3/; export QTDIR; ./configure --disable-all --enable-mythweather --prefix=/usr

now when we 'make' it should have the right values:

# make

have a look at the new improved Makefile to be certain:

# less Makefile

no luck - hmmm well let's delete the directory and start fresh with properly set values ...

# rm -rf mythweather

grab again from svn - will be fast as we're only grabbing MythWeather ...

# svn co http://svn.mythtv.org/svn/trunk/mythplugins/mythweather mythweather

Ok that started to compile ok and then fizzled - looked up issue it seems I'll have to compile the whole trunk - sigh ... another day

# less Makefile

No feedback yet


Form is loading...

April 2024
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 << <   > >>
LAN / Networks related items ...

Search

  XML Feeds

blogging soft