From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 18 15:09:34 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0B0516A420; Sun, 18 Nov 2007 15:09:33 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id 424C913C458; Sun, 18 Nov 2007 15:09:32 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071118150915.UUHY5378.eastrmmtao101.cox.net@eastrmimpo03.cox.net>; Sun, 18 Nov 2007 10:09:15 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo03.cox.net with bizsmtp id EF741Y0054iy4EG0000000; Sun, 18 Nov 2007 10:07:04 -0500 Date: Sun, 18 Nov 2007 09:13:47 -0600 To: "Randy Pratt" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20071118091901.daa594f1.bsd-unix@embarqmail.com> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20071118091901.daa594f1.bsd-unix@embarqmail.com> User-Agent: Opera Mail/9.24 (Linux) Cc: freebsd-multimedia@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: Miro (Democracy) player port is here... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 15:09:34 -0000 On Sun, 18 Nov 2007 08:19:01 -0600, Randy Pratt = wrote: > On Sat, 17 Nov 2007 21:52:19 -0600 > "Jeremy Messenger" wrote: > >> Hello folks, >> >> One of my friend beg me to create a port of Miro, so I did. ;-) Hopef= ul = >> I >> have covered all dependencies. There is only a known issue is that fo= r >> some reason it doesn't show thumbnail. Other than thumbnail, it = >> downloads, >> displays video and etc work great. Feel free to report bug or whateve= r >> under this thread. Have fun. >> and boost-python unconflict. >> >> Cheers, >> Mezz >> >> >> -- >> mezz7@cox.net - mezz@FreeBSD.org >> FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) >> http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org >> http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org > > I ran into trouble compiling: > > Compiling 'unittest/include' template > to /usr/ports/local/miro/work/Miro-1.0/res > ources/../portable/compiled_templates/unittest/include.py Starting > compile of unittest/include Ending compile > Using the Xine driver hack. If you experience trouble playing video, > try setting USE_XINE_HACK to False in setup.py. > /usr/local/lib/libxine.so: undefined reference to `pthread_cleanup_pop= ' > /usr/local/lib/libxine.so: undefined reference to `pthread_attr_destro= y' > /usr/local/lib/libxine.so: undefined reference to `pthread_create' > /usr/local/lib/libxine.so: undefined reference to `pthread_attr_init' > /usr/local/lib/libxine.so: undefined reference to `pthread_cancel' > /usr/local/lib/libxine.so: undefined reference to `pthread_equal' > /usr/local/lib/libxine.so: undefined reference to `pthread_cleanup_pus= h' > /usr/local/lib/libxine.so: undefined reference to > `pthread_attr_setscope' /usr/local/lib/libxine.so: undefined reference= > to `pthread_attr_setschedparam' /usr/local/lib/libxine.so: undefined > reference to `pthread_join' /usr/local/lib/libxine.so: undefined > reference to `pthread_cond_timedwait' /usr/local/lib/libxine.so: > undefined reference to `pthread_attr_getschedparam' Traceback (most > recent call last): File "setup.py", line 343, in > raise RuntimeError("xine_extractor compilation failed. Possibly > missing lib xine, gdk-pixbuf-2.0, or glib-2.0.") > RuntimeError: xine_extractor compilation failed. Possibly missing > libxine, gdk- pixbuf-2.0, or glib-2.0. > *** Error code 1 > gdk-pixbuf-0.22.0_6 > Stop in /usr/ports/local/miro. > > I have both glib-1.2.10_12 and glib-2.14.2 installed. > > I tried several things, first I installed gdk-pixbuf-0.22.0_6 but > miro still stopped at the same point. I couldn't find the > gdk-pixbuf-2.0 mentioned in the error message. The gdk-pixbuf-2.0 is from gtk20. > I have libxine-1.1.7_3 which I rebuilt to include gdk-pixbuf support > but miro build still failed at the same point. > > I'm not sure what to try next. Any suggestions? I think, this error has to do with missing -pthread. The FreeBSD 7.x and= = -CURRENT don't have this problem any longer. So... Try to do 'make patch= ' = and edit in work/Miro-1.0/platform/gtk-x11/setup.py at 340 line like thi= s: Change from: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rv =3D os.system ("gcc %s -o %s `pkg-config --libs --cflags gdk-pixbuf-2= .0 = glib-2.0 libxine`" % (os.path.join(platform_dir, "xine/xine_extractor.c"= ), = os.path.join(platform_dir, "xine/xine_extractor"))) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D To: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rv =3D os.system ("cc %s -o %s `pkg-config --libs --cflags gdk-pixbuf-2.= 0 = glib-2.0 libxine` -pthread" % (os.path.join(platform_dir, = "xine/xine_extractor.c"), os.path.join(platform_dir, = "xine/xine_extractor"))) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Then run 'make install clean' and let me know if it works. Cheers, Mezz > Randy > > BTW: FreeBSD 6.3-PRERELEASE #1: Fri Nov 2 06:54:41 EDT 2007 and > all ports are up-to-date. -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org