Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 17:47:45 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: glib20 vs ruby-gtktrayicon, PTHREAD_(CFLAGS|LIBS) issue?
Message-ID:  <1092606465.73556.24.camel@shumai.marcuscom.com>
In-Reply-To: <opscsmqqpc9aq2h7@mezz>
References:  <opscscbruk9aq2h7@mezz><opscslpidh9aq2h7@mezz> <opscsmqqpc9aq2h7@mezz>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-/+B/xsKoBS5M7AVAMGPw
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2004-08-15 at 17:45, Jeremy Messenger wrote:
> On Sun, 15 Aug 2004 17:32:58 -0400, Joe Marcus Clarke =20
> <marcus@marcuscom.com> wrote:
>=20
> > On Sun, 2004-08-15 at 17:23, Jeremy Messenger wrote:
> >> On Sun, 15 Aug 2004 16:12:04 -0400, Joe Marcus Clarke
> >> <marcus@marcuscom.com> wrote:
> >>
> >> > On Sun, 2004-08-15 at 14:00, Jeremy Messenger wrote:
> >> >> Hello,
> >> >>
> >> >> I am about to take the ruby-gtktrayicon as maintaiership, but I see=
m
> >> >> can't
> >> >> reproduce the same problem as what Kris's cluster build is having. =
I
> >> >> have
> >> >> tried change lib_r and pthread by via the libmap.conf and I am stil=
l
> >> >> able
> >> >> to install it. Is it already fixed recently or so?
> >> >>
> >> >> Kris has marked it as broke last July 11th. The fail build log look=
s
> >> >> like:
> >> >>
> >> >> =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>  Configuring for ruby18-gtktrayicon-0.1.0
> >> >> =3D=3D=3D>  Running extconf.rb to configure
> >> >> checking for GCC... yes
> >> >> checking for rb_define_alloc_func()... yes
> >> >> checking for rb_block_proc()... yes
> >> >> checking for new allocation framework... yes
> >> >> checking for attribute assignment... yes
> >> >> checking for gtk+-2.0... /libexec/ld-elf.so.1:
> >> >> /usr/local/lib/libgthread-2.0.so.400: Undefined symbol
> >> >> "pthread_getschedparam"
> >> >> *** Error code 1
> >> >>
> >> >> Stop in /a/ports/x11/ruby-gtktrayicon.
> >> >> =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
> >> >>
> >> >> I have searched and I have found three sources:
> >> >>
> >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D50402
> >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D51533
> >> >> http://sourceforge.net/mailarchive/message.php?msg_id=3D5714355
> >> >>
> >> >> Is it safe for me to remove the broke line from Makefile since I =20
> >> can't
> >> >> reproduce this problem?
> >> >
> >> > Looks to me like these ports may need RUBY_WITH_PTHREAD=3Dyes.  From=
 =20
> >> what
> >> > I can tell, a simple "require gtk2" causes the undefined symbol erro=
r.
> >>
> >> One more thing, can you reproduce this problem? I have edited =20
> >> libmap.conf
> >> to point everything on pthread, then reboot and I still can't reproduc=
e
> >> it. Can I take out the BROKE out from Makefile and test on pointyhat o=
ne
> >> more time to see if this problem still exists?
> >
> > I can easily reproduce this on 4.X.
>=20
> Ok, add 'RUBY_WITH_PTHREAD=3Dyes' and it will solve this problem on your =
=20
> 4.x? 5.x works fine for you too? Thanks!

I haven't tried 5.X.  I would have to compile all the Ruby stuff to do
that.

Joe

>=20
> Cheers,
> Mezz
>=20
> > Joe
> >
> >>
> >> Cheers,
> >> Mezz
> >>
> >> > Joe
> >> >
> >> >>
> >> >> Cheers,
> >> >> Mezz
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-/+B/xsKoBS5M7AVAMGPw
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBH9oBb2iPiv4Uz4cRAuIKAJ40agqWit/NuAqhw7QTBRN+0xM8yACeNrTU
9iNlqx8gpqs3kUN2ozZoB/A=
=wdhL
-----END PGP SIGNATURE-----

--=-/+B/xsKoBS5M7AVAMGPw--



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