# How I got Tcl/Tk working with Ruby on OS X

**URL:** <https://www.ruby-forum.com/t/how-i-got-tcl-tk-working-with-ruby-on-os-x/115616>\
**Category:** Ruby\
**Created:** [September 26, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/how-i-got-tcl-tk-working-with-ruby-on-os-x/115616 "2007-09-26T21:37:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [September 26, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/how-i-got-tcl-tk-working-with-ruby-on-os-x/115616/1 "2007-09-26T21:37:14Z")

</div>

In case anyone is having trouble with this:

Download the source for Tcl 8.4.16, Tk 8.4.16, and Ruby 1.8.6.

Rename the source directories to tcl, tk, and ruby.

cd tcl/macosx  
./configure  
make \>& make.log  
sudo make install

cd tk/macosx  
./configure  
make \>& make.log  
sudo make install

cd ruby  
./configure --enable-tcltk-framework --with-tcltk-framework=/Library/  
Frameworks --with-tcl-framework-header=/Library/Frameworks/  
Tcl.framework/Headers --with-tk-framework-header=/Library/Frameworks/  
Tk.framework/Headers --enable-pthread  
make \>& make.log  
sudo make install

---

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [September 26, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/how-i-got-tcl-tk-working-with-ruby-on-os-x/115616/2 "2007-09-26T23:25:41Z")

</div>

Phil [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Download the source for Tcl 8.4.16, Tk 8.4.16, and Ruby 1.8.6.

and what to do with an already installed ruby 1.8.6 under /opt  
(MacPorts) ???

---

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [October 14, 2007, 10:55am UTC](https://www.ruby-forum.com/t/how-i-got-tcl-tk-working-with-ruby-on-os-x/115616/3 "2007-10-14T10:55:49Z")

</div>

for tk

there is no ./configure  
the make returned error…  
how come it is so troublesome just to make tk work.
