Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2007 11:08:20 -0500
From:      Randy Pratt <bsd-unix@embarqmail.com>
To:        "Jeremy Messenger" <mezz7@cox.net>
Cc:        freebsd-multimedia@freebsd.org, freebsd-gnome@freebsd.org
Subject:   Re: Miro (Democracy) player port is here...
Message-ID:  <20071118110820.ab8757a0.bsd-unix@embarqmail.com>
In-Reply-To: <op.t1ztw9d39aq2h7@mezz.mezzweb.com>
References:  <op.t1yydhtd9aq2h7@mezz.mezzweb.com> <20071118091901.daa594f1.bsd-unix@embarqmail.com> <op.t1ztw9d39aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Nov 2007 09:13:47 -0600
"Jeremy Messenger" <mezz7@cox.net> wrote:

> On Sun, 18 Nov 2007 08:19:01 -0600, Randy Pratt <bsd-unix@embarqmail.com>  
> wrote:
> 
> > On Sat, 17 Nov 2007 21:52:19 -0600
> > "Jeremy Messenger" <mezz7@cox.net> 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 <module>
> >     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: <function selectDisplay at 0x8bbe064> 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


-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071118110820.ab8757a0.bsd-unix>