glib20 vs ruby-gtktrayicon, PTHREAD_(CFLAGS|LIBS) issue?

Joe Marcus Clarke marcus at marcuscom.com
Sun Aug 15 13:37:52 PDT 2004


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.

Joe

> 
> Cheers,
> Mezz
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040815/81effb17/attachment.bin


More information about the freebsd-gnome mailing list