[PD] tk.h: No such file

Gerda Strobl gerda.strobl at student.tugraz.at
Mon Oct 2 09:20:07 CEST 2006


IOhannes m zmoelnig wrote:
[...]
> 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
ok. with tk8.4-dev  it works, but unfortunately I still dont get through 
the installation process:

tcl8.4 -c -o ../obj/t_tkcmd.o t_tkcmd.c
cd ../obj; cc  -o ../bin/pd-gui t_main.o t_tkcmd.o \
        -ltcl8.4
t_main.o: In function `Tcl_AppInit':
/usr/local/lib/pd/pd-0.40-0/src/t_main.c:93: undefined reference to 
`Tk_Init'
t_main.o: In function `main':
/usr/local/lib/pd/pd-0.40-0/src/t_main.c:59: undefined reference to 
`Tk_MainEx'
collect2: ld returned 1 exit status
make: *** [../bin/pd-gui] Error 1

Gerda




More information about the Pd-list mailing list