Control: severity -1 wishlist Hello Faheem,
On Tue, Jan 06, 2015 at 09:36:23PM +0530, Faheem Mitha wrote: > Package: ruby2.1 > Version: 2.1.5-1 > Severity: normal > > > Ruby 2.1 fails to build on Wheezy, even though the build dependencies > are all satisfied. See the attached file ruby2.1_2.1.5-1_amd64.build. > > This build log ends with: > > make[2]: Leaving directory `/usr/local/src/ruby2.1/ruby2.1-2.1.5' > # remove RPATH from tcltklib bindings > chrpath --delete > /usr/local/src/ruby2.1/ruby2.1-2.1.5/debian/tmp/usr/lib/x86_64-linux-gnu/ruby/2.1.0/tcltklib.so > open: No such file or directory > elf_open: Invalid argument Thanks for getting in touch, but note that ruby2.1 was never meant for wheezy anyway, I won't look into this, but if you can come up with a patch to make the build work on both wheezy and jessie, I would be happy to consider it. Hint: you want to look at debian/rules. The problem is due to the build not finding the Tk stuff, because the paths to the tcl/tk libaries changed between wheezy and jessie: Specified Tcl/Tk version is ["8.5", "8.5"] Use ActiveTcl libraries (if available). Search tclConfig.sh (in /usr/lib/x86_64-linux-gnu/tcl8.5/tclConfig.sh) and tkConfig.sh (in /usr/lib/x86_64-linux-gnu/tk8.5/tkConfig.sh).. Fail to find [tclConfig.sh, tkConfig.sh] Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh). Search tcl.h. Search tk.h.Search Tcl library.Search Tk library. Warning:: cannot find Tk library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk. If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib). At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4. Failed to configure tk. It will not be installed. ../../.././ext/tk/tkutil/extconf.rb Failed to configure tk/tkutil. It will not be installed. ../.././ext/win32/extconf.rb -- Antonio Terceiro <terce...@debian.org>
signature.asc
Description: Digital signature