On Fri, 02 Nov 2007 18:30:13 -0500, Jeremy Messenger <mezz7_(_at_)_cox_(_dot_)_net> wrote:
On Fri, 02 Nov 2007 11:37:07 -0500, Marcin Wisnicki <mwisnicki+freebsd_(_at_)_gmail_(_dot_)_com> wrote:On Thu, 01 Nov 2007 22:02:38 -0500, Josh Paetzel wrote:On Thursday 01 November 2007 04:04:35 pm lemon wrote:[0] http://lists.freebsd.org/pipermail/freebsd-ports/2005-January/019352.htmlhttp://lists.freebsd.org/pipermail/freebsd-ports/2006-March/030691.htmlIf it's any consolation, I've emailed the ruby maintainer a few times about why disabling threads in the port's menu doesn't *really* disable threads and have never gotten a reply.As explained in abovementioned links, some of ruby extensions need pthreads but since shared modules on freebsd are never linked with threading libraries (i think it might no longer be true in releng7/ current), you have no other choice than to link ruby interpreter binary with libpthread.I must be behind with -pthread stuff for FreeBSD 7.x/-CURRENT. If it's doesn't need -pthread any longer, then it's awsome. We can add a new check of if system is below than 7.x then force add -pthread in ruby port. It will need a lot of test first before maintainer or someone to commit this change. I don't mind to test on ruby-gtk2/ruby-gnome2 in RELENG_7 by remove -pthread from ruby port.
Yep, ruby-gtk2/ruby-gnome2 work great with ruby compiled without -pthread on RELENG_7. Nice! My suggest of add a new check should make everybody more happy.
% ldd /usr/local/bin/ruby
/usr/local/bin/ruby:
libruby18.so.18 => /usr/local/lib/libruby18.so.18 (0x2807d000)
libcrypt.so.4 => /lib/libcrypt.so.4 (0x28154000)
libm.so.5 => /lib/libm.so.5 (0x2816d000)
libc.so.7 => /lib/libc.so.7 (0x28182000)
% ruby /usr/local/share/examples/ruby18/gtk2/misc/filechooser.rb
[...no crash...]
% ruby /usr/local/share/examples/ruby18/gtk2/misc/fileselection.rb
[...no crash...]
Cheers,
Mezz
Cheers, Mezz
-- mezz7_(_at_)_cox_(_dot_)_net - mezz_(_at_)_FreeBSD_(_dot_)_org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome_(_at_)_FreeBSD_(_dot_)_org http://wiki.freebsd.org/multimedia - multimedia_(_at_)_FreeBSD_(_dot_)_org _______________________________________________ freebsd-ports_(_at_)_freebsd_(_dot_)_org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe_(_at_)_freebsd_(_dot_)_org"