Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2009 23:35:08 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>
Cc:        Torfinn Ingolfsen <tingox@gmail.com>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: mythtv 0.21 - trouble compiling the port
Message-ID:  <49E1616C.5060404@FreeBSD.org>
In-Reply-To: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at>
References:  <ef8c8a880903301054qe27906bn7ee69f5158bed3e6@mail.gmail.com> <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernhard Fr=F6hlich 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@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@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET  amd64
>> and ports tree updated yesterday:
>> root@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.bz=
2
>> -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?
>=20
> Yeah i can reproduce that too. It's because it takes libavcodec from th=
e
> 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.
>=20
> This patch should fix the above problem: (as usual throw it in mythtv/f=
iles)
>=20
> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro
>=20
>=20
> --- 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 +=3D volumebase.cpp volumecontrol.cpp virtualkeyboard.cpp xmlp=
arse.cpp
>  SOURCES +=3D mythhdd.cpp mythcdrom.cpp storagegroup.cpp dbutil.cpp
>=20
> -INCLUDEPATH +=3D ../libmythsamplerate ../libmythsoundtouch
> ../libmythfreesurround
> -INCLUDEPATH +=3D ../libavcodec ../libavutil
> -INCLUDEPATH +=3D ../.. ../ ./
> -DEPENDPATH +=3D ../libmythsamplerate ../libmythsoundtouch
> -DEPENDPATH +=3D ../libmythfreesurround
> -DEPENDPATH +=3D ../libavcodec ../libavutil
> -DEPENDPATH +=3D ../ ../libmythui
> -DEPENDPATH +=3D ../libmythupnp
> +INCLUDEPATH =3D ../libmythsamplerate ../libmythsoundtouch
> ../libmythfreesurround $${INCLUDEPATH}
> +INCLUDEPATH =3D ../libavcodec ../libavutil $${INCLUDEPATH}
> +INCLUDEPATH =3D ../.. ../ ./ $${INCLUDEPATH}
> +DEPENDPATH =3D ../libmythsamplerate ../libmythsoundtouch $${DEPENDPATH=
}
> +DEPENDPATH =3D ../libmythfreesurround $${DEPENDPATH}
> +DEPENDPATH =3D ../libavcodec ../libavutil $${DEPENDPATH}
> +DEPENDPATH =3D ../ ../libmythui $${DEPENDPATH}
> +DEPENDPATH =3D ../libmythupnp $${DEPENDPATH}
>=20
>=20
>  LIBS +=3D -L../libmythsamplerate   -lmythsamplerate-$${LIBVERSION}
>=20
>=20
>=20

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=3D
=3DxjXA
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E1616C.5060404>