From owner-freebsd-ports@FreeBSD.ORG Sun Apr 12 03:35:14 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41A3F106564A for ; Sun, 12 Apr 2009 03:35:14 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5C78FC0C for ; Sun, 12 Apr 2009 03:35:14 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LsqTK-0005Zj-4J; Sat, 11 Apr 2009 23:35:12 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 0E7392D0878B; Sat, 11 Apr 2009 23:35:06 -0400 (EDT) Message-ID: <49E1616C.5060404@FreeBSD.org> Date: Sat, 11 Apr 2009 23:35:08 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= References: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> In-Reply-To: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) Cc: Torfinn Ingolfsen , FreeBSD Ports ML Subject: Re: mythtv 0.21 - trouble compiling the port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2009 03:35:14 -0000 -----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-----