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.
I built ruby1.8 with the following patch: _USER_FLAGS += --with- extra-search- path='/ usr/lib/ ruby/$( ruby_ver) /i386-linux' USER_FLAGS += --program- suffix= $(ruby_ ver) USER_FLAGS += --enable-pthread USER_FLAGS += --enable-shared USER_FLAGS += --enable-ipv6 USER_FLAGS += --with- lookup- order-hack= INET USER_FLAGS += --with-bundled-sha1 USER_FLAGS += --with-bundled-md5 USER_FLAGS += --with- bundled- rmd160 USER_FLAGS += --disable- tcl-thread
--- debian/rules (revision 201)
+++ debian/rules (working copy)
@@ -39,7 +39,6 @@
DEB_CONFIGURE
endif
DEB_CONFIGURE_
-DEB_CONFIGURE_
DEB_CONFIGURE_
DEB_CONFIGURE_
DEB_CONFIGURE_
@@ -54,6 +53,7 @@
DEB_CONFIGURE_
DEB_CONFIGURE_
DEB_CONFIGURE_
+DEB_CONFIGURE_
DEB_MAKE_ BUILD_TARGET = all test BUILD_TARGET = all test test-all
#DEB_MAKE_
It built fine, but when loading tk: 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.
irb(main):002:0> require 'tk'
/usr/lib/
=> true
irb(main):003:0>
It seems that the only option would be to drop ruby-tk support.