Comment 10 for bug 307462

Revision history for this message
Lucas Nussbaum (lucas) wrote :

I built ruby1.8 with the following patch:
--- debian/rules (revision 201)
+++ debian/rules (working copy)
@@ -39,7 +39,6 @@
  DEB_CONFIGURE_USER_FLAGS += --with-extra-search-path='/usr/lib/ruby/$(ruby_ver)/i386-linux'
 endif
 DEB_CONFIGURE_USER_FLAGS += --program-suffix=$(ruby_ver)
-DEB_CONFIGURE_USER_FLAGS += --enable-pthread
 DEB_CONFIGURE_USER_FLAGS += --enable-shared
 DEB_CONFIGURE_USER_FLAGS += --enable-ipv6
 DEB_CONFIGURE_USER_FLAGS += --with-lookup-order-hack=INET
@@ -54,6 +53,7 @@
 DEB_CONFIGURE_USER_FLAGS += --with-bundled-sha1
 DEB_CONFIGURE_USER_FLAGS += --with-bundled-md5
 DEB_CONFIGURE_USER_FLAGS += --with-bundled-rmd160
+DEB_CONFIGURE_USER_FLAGS += --disable-tcl-thread

 DEB_MAKE_BUILD_TARGET = all test
 #DEB_MAKE_BUILD_TARGET = all test test-all

It built fine, but when loading tk:
irb(main):002:0> require 'tk'
/usr/lib/ruby/1.8/tk.rb:1127: warning: Inconsistency. Loaded Tcl/Tk libraries are enabled nativethread-support. But `tcltklib' is not. The inconsistency causes SEGV or other troubles frequently.
=> true
irb(main):003:0>

It seems that the only option would be to drop ruby-tk support.