MythTV port - status report

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Wed Jan 3 14:20:23 PST 2007


On Wed, 03 Jan 2007 18:23:47 +0100
usleepless at gmail.com wrote:

> i just remember another thing: you said you implement my usleep-hack.

Correction: I tried to, but the MythTV port would not compile when I
patched it the way you suggested (at least - my understanding of your
suggestions). I probably didn't do it right. See message with id: 
<20061226175551.503d11f1.torfinn.ingolfsen at broadpark.no>
for my feedback.
For some rason, the patches didn't make it to the list. I'll attache
them here, look for patch-mythcontext.{cpp|h}

> however, due to mythtv's Makefile's, libraries are first searched in
> /usr/local/lib instead of the build-context. this bited my ass a
> couple of times, so i got the habit of deleting
> /usr/local/lib/libmyth* before doing a (full) rebuild.
> 
> understand what i mean?

Oh, you are saying that the MythTV port uses the libraries
in /usr/local/lib _when_ _building_ ?
Ooh, that's really, really bad.
But it is easy to do a 'make deinstall' before rebuilding.
Hang on, I'll test it...
Nope, it still fails, here is the error part:

cd libmyth && qmake libmyth.pro -spec /usr/local/share/qt/mkspecs/freebsd-g++ -o Makefile
cd libmyth && make -f Makefile
g++ -c -pipe -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -Wall -W -O3 -pthread -Wall -Wno-switch -fomit-frame-pointer -DPIC -fPIC  -DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../X11R6/include -I../libmythsamplerate -I../libmythsoundtouch -I../.. -I.. -I../../../../../../../local/include -I/usr/X11R6/include -o dialogbox.o dialogbox.cpp
g++ -c -pipe -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -Wall -W -O3 -pthread -Wall -Wno-switch -fomit-frame-pointer -DPIC -fPIC  -DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../X11R6/include -I../libmythsamplerate -I../libmythsoundtouch -I../.. -I.. -I../../../../../../../local/include -I/usr/X11R6/include -o lcddevice.o lcddevice.cpp
In file included from mythdialogs.h:15,
                 from lcddevice.cpp:12:
../../../../../../../X11R6/include/qthread.h:113: error: expected identifier before string constant
../../../../../../../X11R6/include/qthread.h:113: error: expected `,' or `...' before string constant
../../../../../../../X11R6/include/qthread.h:113: error: ISO C++ forbids declaration of `parameter' with no type
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.20/libs/libmyth.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.20/libs.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.20.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.

Hope this helps some.
-- 
Regards,
Torfinn Ingolfsen,
Norway



More information about the freebsd-multimedia mailing list