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

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-) 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 <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 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



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