Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2007 23:20:21 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: MythTV port - status report
Message-ID:  <20070103232021.ba9cea22.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <c39ec84c0701030923q5aca6dd0q3c40396c50ab02e1@mail.gmail.com>
References:  <20061224230155.fc0a6c6a.torfinn.ingolfsen@broadpark.no> <20061228145909.bbb6d193.torfinn.ingolfsen@broadpark.no> <d5eb95fc0612281435k1357d907p99adad9912313368@mail.gmail.com> <c39ec84c0612281449q6e62ac56pb54d42cd790fadd5@mail.gmail.com> <d5eb95fc0612281453n7cd2de31t92ca7a88ed67599b@mail.gmail.com> <c39ec84c0612291406v60c6c8edgda86a19c3f4c5806@mail.gmail.com> <20061230184451.8b1fa4df.torfinn.ingolfsen@broadpark.no> <20061230200054.e23631e5.torfinn.ingolfsen@broadpark.no> <c39ec84c0701011215o40853b33xdde5ce41b1c6b075@mail.gmail.com> <20070102083949.54238d9c.torfinn.ingolfsen@broadpark.no> <c39ec84c0701030923q5aca6dd0q3c40396c50ab02e1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Boundary_(ID_Hk+lbfIn9tjZz1lMnWZJ1A)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

On Wed, 03 Jan 2007 18:23:47 +0100
usleepless@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@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


--Boundary_(ID_Hk+lbfIn9tjZz1lMnWZJ1A)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070103232021.ba9cea22.torfinn.ingolfsen>