From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 15 21:47:50 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3ECA16A4CE for ; Sun, 15 Aug 2004 21:47:50 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48FC743D1F for ; Sun, 15 Aug 2004 21:47:50 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i7FLlTkA020665; Sun, 15 Aug 2004 17:47:29 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Jeremy Messenger In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/+B/xsKoBS5M7AVAMGPw" Organization: MarcusCom, Inc. Message-Id: <1092606465.73556.24.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 15 Aug 2004 17:47:45 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on creme-brulee.marcuscom.com cc: freebsd-gnome@freebsd.org Subject: Re: glib20 vs ruby-gtktrayicon, PTHREAD_(CFLAGS|LIBS) issue? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 21:47:50 -0000 --=-/+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 > 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 > >> 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--