# Compiling Ruby without Tk?

**URL:** <https://www.ruby-forum.com/t/compiling-ruby-without-tk/77330>\
**Category:** Ruby\
**Created:** [March 6, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/compiling-ruby-without-tk/77330 "2006-03-06T17:05:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Parkerson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@Scott\_Parkerson](https://www.ruby-forum.com/u/Scott_Parkerson)\
**Post date:** [March 6, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/compiling-ruby-without-tk/77330/1 "2006-03-06T17:05:44Z")

</div>

Greetings,

I’m trying to package Ruby without compiling the Tcl/Tk extension.  
This is so I can install Ruby on a system without X11 or Tcl/Tk.  
Examining the output of configure --help doesn’t seem to yield  
anything obvious.

Thanks,  
Scott

---

<div class="post-metadata">

**Author:** ![Scott\_Parkerson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@Scott\_Parkerson](https://www.ruby-forum.com/u/Scott_Parkerson)\
**Post date:** [March 8, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/compiling-ruby-without-tk/77330/2 "2006-03-08T15:39:59Z")

</div>

From: “Scott Parkerson” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Compiling Ruby without Tk?  
Date: Tue, 7 Mar 2006 01:04:38 +0900  
Message-ID:  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> I’m trying to package Ruby without compiling the Tcl/Tk extension.  
> This is so I can install Ruby on a system without X11 or Tcl/Tk.  
> Examining the output of configure --help doesn’t seem to yield  
> anything obvious.

If you give invalid Tcl/Tk lib names, tcltklib may not be compiled.  
For example, “configure --with-tcllib=none --with-tklib=none”.

---

<div class="post-metadata">

**Author:** ![Scott\_Parkerson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@Scott\_Parkerson](https://www.ruby-forum.com/u/Scott_Parkerson)\
**Post date:** [March 10, 2006, 1:29pm UTC](https://www.ruby-forum.com/t/compiling-ruby-without-tk/77330/3 "2006-03-10T13:29:05Z")

</div>

Hi,

At Wed, 8 Mar 2006 23:37:06 +0900,  
Hidetoshi NAGAI wrote in [ruby-talk:183087]:

> If you give invalid Tcl/Tk lib names, tcltklib may not be compiled.  
> For example, “configure --with-tcllib=none --with-tklib=none”.

“configure --without-tk” should work with 1.8.4.
