From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 15 21:46:05 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 0B66C16A4CE for ; Sun, 15 Aug 2004 21:46:05 +0000 (GMT) Received: from lakermmtao12.cox.net (lakermmtao12.cox.net [68.230.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 847D243D31 for ; Sun, 15 Aug 2004 21:46:04 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz ([68.103.32.140]) by lakermmtao12.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040815214602.MYEZ10626.lakermmtao12.cox.net@mezz>; Sun, 15 Aug 2004 17:46:02 -0400 Date: Sun, 15 Aug 2004 16:45:52 -0500 To: "Joe Marcus Clarke" References: <1092600723.73556.14.camel@shumai.marcuscom.com> <1092605578.73556.16.camel@shumai.marcuscom.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1092605578.73556.16.camel@shumai.marcuscom.com> User-Agent: Opera M2/7.54 (Linux, build 751) 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:46:05 -0000 On Sun, 15 Aug 2004 17:32:58 -0400, Joe Marcus Clarke wrote: > 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 seem >> >> 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 still >> >> able >> >> to install it. Is it already fixed recently or so? >> >> >> >> Kris has marked it as broke last July 11th. The fail build log looks >> >> like: >> >> >> >> ========================================= >> >> ===> Configuring for ruby18-gtktrayicon-0.1.0 >> >> ===> 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. >> >> ========================================= >> >> >> >> I have searched and I have found three sources: >> >> >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=50402 >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=51533 >> >> http://sourceforge.net/mailarchive/message.php?msg_id=5714355 >> >> >> >> Is it safe for me to remove the broke line from Makefile since I >> can't >> >> reproduce this problem? >> > >> > Looks to me like these ports may need RUBY_WITH_PTHREAD=yes. From >> what >> > I can tell, a simple "require gtk2" causes the undefined symbol error. >> >> One more thing, can you reproduce this problem? I have edited >> libmap.conf >> to point everything on pthread, then reboot and I still can't reproduce >> it. Can I take out the BROKE out from Makefile and test on pointyhat one >> more time to see if this problem still exists? > > I can easily reproduce this on 4.X. Ok, add 'RUBY_WITH_PTHREAD=yes' and it will solve this problem on your 4.x? 5.x works fine for you too? Thanks! Cheers, Mezz > Joe > >> >> Cheers, >> Mezz >> >> > Joe >> > >> >> >> >> Cheers, >> >> Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org