[PD] tk.h: No such file

IOhannes m zmoelnig zmoelnig at iem.at
Mon Oct 2 09:16:11 CEST 2006


Gerda Strobl wrote:
> IOhannes m zmoelnig wrote:
>> Gerda Strobl wrote:
>>  
>>> Dear all,
>>>
>>> I have the latest tcl8.4 installed .
>>> But it is strange-I cannot find any tk.h in /usr/include/tcl8.4
>>> There is only a tcl.h (is it that one?).
>>>     
>>
>> no it is not the same (that's why they are called differently;-))
>>
>> tcl!=tk
>>
>> you also need to have tk8.4-dev installed
>>
>> mf.adsr.
>> IOhannes
>>   
> But I have!

no you don't ;-)

> (Should I set the path in the makefile?)

no need for that.

> 
> root@/usr/share/tk8.4 whereis tk8.4
> tk8: /usr/lib/tk8.4   /usr/share/tk8.4

please note the trailing "-dev" in tk8.4-dev

> 
> 
> and the folder /usr/lib/tk8.4 / contains a file tk.tcl only...and when I 
> generally search for tk.h on my system I cannot find that file.

zmoelnig at ferrari:~$ dpkg -L tk8.4 | grep tk.h

zmoelnig at ferrari:~$ dpkg -L tk8.4-dev | grep tk.h
/usr/include/tcl8.4/tk-private/generic/tk.h
/usr/include/tcl8.4/tk.h

zmoelnig at ferrari:~$

so tk8.4(-dev) depends on tcl8.4(-dev); headers are installed into 
/usr/include/tk<X.Y>/ (tk is really the graphics part of the 
script-language tcl)

~$ su
...
# aptitude install tk8.4-dev


mfg.adsr.
IOhannes





More information about the Pd-list mailing list