mythtv 0.21 - trouble compiling the port
Greg Larkin
glarkin at FreeBSD.org
Sun Apr 12 03:35:14 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bernhard Fröhlich wrote:
> On Mon, March 30, 2009 7:54 pm, Torfinn Ingolfsen wrote:
>> Hi,
>> I am trying to install the mythtv 0.21 port (multimedia/mythtv) under
>> FreeBSd 7.2-prerelease/amd64:
>> root at kg-quiet# uname -a
>> FreeBSD kg-quiet.kg4.no 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Sun
>> Mar 29 14:46:57 CEST 2009
>> root at kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64
>> and ports tree updated yesterday:
>> root at kg-quiet# ll /usr/ports/IN*
>> -rw-r--r-- 1 root wheel 19094389 Mar 29 12:14 /usr/ports/INDEX-7
>> -rw-r--r-- 1 root wheel 1261454 Mar 29 09:35 /usr/ports/INDEX-7.bz2
>> -rw-r--r-- 1 root wheel 33808384 Mar 29 12:15 /usr/ports/INDEX-7.db
>>
>> However, when I do
>> cd /usr/ports/multimedia/mythtv
>> make
>>
>> it barfs after a while with:
[...]
>>
>> Stop in /usr/ports/multimedia/mythtv.
>>
>> Any hints?
>
> Yeah i can reproduce that too. It's because it takes libavcodec from the
> system path which is wrong. Attached patch fixes that problem but then I
> get another compile error with Intel XvMC in mythtranscode. That one
> probably needs further investigation but it might not bite you if you
> don't have intel onboard graphics.
>
> This patch should fix the above problem: (as usual throw it in mythtv/files)
>
> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro
>
>
> --- libs/libmyth/libmyth.pro.orig 2009-03-30 22:55:47.000000000 +0200
> +++ libs/libmyth/libmyth.pro 2009-03-30 22:58:01.000000000 +0200
> @@ -43,14 +43,14 @@
> SOURCES += volumebase.cpp volumecontrol.cpp virtualkeyboard.cpp xmlparse.cpp
> SOURCES += mythhdd.cpp mythcdrom.cpp storagegroup.cpp dbutil.cpp
>
> -INCLUDEPATH += ../libmythsamplerate ../libmythsoundtouch
> ../libmythfreesurround
> -INCLUDEPATH += ../libavcodec ../libavutil
> -INCLUDEPATH += ../.. ../ ./
> -DEPENDPATH += ../libmythsamplerate ../libmythsoundtouch
> -DEPENDPATH += ../libmythfreesurround
> -DEPENDPATH += ../libavcodec ../libavutil
> -DEPENDPATH += ../ ../libmythui
> -DEPENDPATH += ../libmythupnp
> +INCLUDEPATH = ../libmythsamplerate ../libmythsoundtouch
> ../libmythfreesurround $${INCLUDEPATH}
> +INCLUDEPATH = ../libavcodec ../libavutil $${INCLUDEPATH}
> +INCLUDEPATH = ../.. ../ ./ $${INCLUDEPATH}
> +DEPENDPATH = ../libmythsamplerate ../libmythsoundtouch $${DEPENDPATH}
> +DEPENDPATH = ../libmythfreesurround $${DEPENDPATH}
> +DEPENDPATH = ../libavcodec ../libavutil $${DEPENDPATH}
> +DEPENDPATH = ../ ../libmythui $${DEPENDPATH}
> +DEPENDPATH = ../libmythupnp $${DEPENDPATH}
>
>
> LIBS += -L../libmythsamplerate -lmythsamplerate-$${LIBVERSION}
>
>
>
Hi Bernhard,
Thank you for preparing that patch. I am testing it now on my machine
here, and I will commit the change once verified.
Can anyone else that has had compile errors on this OS/arch combination
verify that Bernhard's patch has solved the compile problem?
Thank you,
Greg
- --
Greg Larkin
http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ4WFs0sRouByUApARApDjAJ9UdqW+aQVnkEDyRRmglJ5Oe8hLnwCfQkMc
QVtbnQQiYDvcO2p/xnEj1RE=
=xjXA
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list