[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

tcltklib

Geert Fannes

4/11/2005 2:03:00 PM

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.

1 Answer

nobu.nokada

4/11/2005 11:07:00 PM

0

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