Skip to content

Instantly share code, notes, and snippets.

@prusswan
Last active August 29, 2015 14:09
Show Gist options
  • Save prusswan/04e1a52da277c34dd591 to your computer and use it in GitHub Desktop.
Save prusswan/04e1a52da277c34dd591 to your computer and use it in GitHub Desktop.
ruby 1.9.3 rbenv tcl tk
sudo ln -s /usr/lib/x86_64-linux-gnu/libtcl8.5.so.0 /usr/lib/libtcl8.5.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libtk8.5.so.0 /usr/lib/libtk8.5.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/tcl8.5/tclConfig.sh /usr/lib/tclConfig.sh
sudo ln -s /usr/lib/x86_64-linux-gnu/tk8.5/tkConfig.sh /usr/lib/tkConfig.sh
RUBY_CONFIGURE_OPTS="--with-tcl-include=/usr/include/tcl8.5
--with-tcllib=tcl8.5 --with-tklib=tk8.5 --with-tcltkversion=8.5
--with-tk-include=/usr/include/tcl8.5
--with-tclConfig-file=/usr/lib/tclConfig.sh
--with-tkConfig-file=/usr/lib/tkConfig.sh
--enable-pthread" rbenv install --force -v 1.9.3-p551
RUBY_CONFIGURE_OPTS="--with-tcl-include=/usr/include/tcl8.5
--with-tcllib=tcl8.5 --with-tklib=tk8.5 --with-tcltkversion=8.5
--with-tk-include=/usr/include/tcl8.5" rbenv install --force -v 2.1.4
Credits:
http://askubuntu.com/a/373400/43485
http://qiita.com/ndac_todoroki/items/d4458a684669b2029346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment