# Tcltklib

**URL:** <https://rubytalk.org/t/tcltklib/17562>\
**Category:** ruby-talk\
**Created:** [11 April 2005 14:02 UTC](https://rubytalk.org/t/tcltklib/17562 "2005-04-11T14:02:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geert\_Fannes1](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@Geert\_Fannes1](https://rubytalk.org/u/Geert_Fannes1)\
**Post date:** [11 April 2005 14:02 UTC](https://rubytalk.org/t/tcltklib/17562/1 "2005-04-11T14:02:47Z")

</div>

Hello, I'm trying to activate tcltklib for ruby 1.8.2. I am working on a  
x86-64 Suse 9 machine and I have both tcl.h and tk.h in /usr/include.  
For some strange reason, ext/tcltklib/extconf.rb finds tcl.h, but fails  
to find tk.h. Any idea what is happening? (I installed it on a slackware  
machine with tcl.h and tk.h in the same place and there, things work  
immediately)

gfannes@namib gfannes $ cd downloads/ruby-1.8.2/ext/tcltklib/

gfannes@namib tcltklib $ ruby extconf.rb

checking for t\_open() in -lnsl... no

checking for socket() in -lsocket... no

checking for dlopen() in -ldl... yes

checking for log() in -lm... no

checking for tcl.h... yes

checking for tk.h... no

gfannes@namib tcltklib $ ls -l /usr/include/tcl.h

-rw-r--r-- 1 root root 83320 2004-06-30 19:45 /usr/include/tcl.h

gfannes@namib tcltklib $ ls -l /usr/include/tk.h

-rw-r--r-- 1 root root 57195 2004-06-30 23:08 /usr/include/tk.h

Greetings,

Geert.

---

<div class="post-metadata">

**Author:** ![Nobuyoshi\_Nakada](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@Nobuyoshi\_Nakada](https://rubytalk.org/u/Nobuyoshi_Nakada)\
**Post date:** [11 April 2005 23:07 UTC](https://rubytalk.org/t/tcltklib/17562/2 "2005-04-11T23:07:21Z")

</div>

Hi,

At Mon, 11 Apr 2005 23:02:47 +0900,  
Geert Fannes wrote in [ruby-talk:137786]:

> Hello, I'm trying to activate tcltklib for ruby 1.8.2. I am working on a  
> x86-64 Suse 9 machine and I have both tcl.h and tk.h in /usr/include.  
> For some strange reason, ext/tcltklib/extconf.rb finds tcl.h, but fails  
> to find tk.h. Any idea what is happening? (I installed it on a slackware  
> machine with tcl.h and tk.h in the same place and there, things work  
> immediately)

Show the mkmf.log file at first.

> **···**
>
> --  
> Nobu Nakada
