From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 18 16:08:35 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 691A816A41B for ; Sun, 18 Nov 2007 16:08:35 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1186C13C468 for ; Sun, 18 Nov 2007 16:08:34 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=JGRtUt9vDGkA:10 a=6I5d2MoRAAAA:8 a=u4rBstFdAAAA:8 a=3g022-SEogM2hRMkbBsA:9 a=H6xkl2ZDt76c196zJ1kA:7 a=e_bfNr1wrUX1HuWYmQftgOgi3PsA:4 a=4vB-4DCPJfMA:10 a=cvn8laQl214A:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp07.embarq.synacor.com smtp.mail=bsd-unix@embarqmail.com; spf=neutral Authentication-Results: smtp07.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received-SPF: neutral (smtp07.embarq.synacor.com: 76.6.194.183 is neither permitted nor denied by domain of embarqmail.com) Received: from [76.6.194.183] ([76.6.194.183:49527] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.1.21 r(19176)) with ESMTPA id 69/31-29191-47360474; Sun, 18 Nov 2007 11:08:21 -0500 Date: Sun, 18 Nov 2007 11:08:20 -0500 From: Randy Pratt To: "Jeremy Messenger" Message-Id: <20071118110820.ab8757a0.bsd-unix@embarqmail.com> In-Reply-To: References: <20071118091901.daa594f1.bsd-unix@embarqmail.com> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 16:08:35 -0000 On Sun, 18 Nov 2007 09:13:47 -0600 "Jeremy Messenger" wrote: > 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. ;-) Hopeful > >> I > >> have covered all dependencies. There is only a known issue is that for > >> some reason it doesn't show thumbnail. Other than thumbnail, it > >> downloads, > >> displays video and etc work great. Feel free to report bug or whatever > >> 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_destroy' > > /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_push' > > /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 this: > > Change from: > ============================================ > rv = 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"))) > ============================================ > > To: > ============================================ > rv = 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"))) > ============================================ > > 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. That worked for the installation. Thanks! Although, when Miro was started, it displayed and was loading then seg faulted with: ... INFO First URL is https://www.miroguide.com/firsttime TIMING Icon clear: 0.002 INFO Starting movie data updates INFO Finished startup sequence TIMING idle (finalizing startup) too slow (3.984 secs) INFO *** Daemon ready *** INFO got file:///tmp/tmpacEbWZ.html TIMING gtkAsyncMethod: took too long: 1.109 INFO got file:///tmp/tmpA7pWuk.html WARNING downloader: connection closed -- quitting INFO Shutting down downloaders... Segmentation fault (core dumped) The system is lightly loaded and plenty of bandwidth so I don't think its any problem in that area. Seems to be something related to not being fast enough. Thanks, Randy > -- > 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 --