From: John Fletcher Date: 2003-06-10T22:25:17+09:00 Subject: Re: tcltklib does not get compiled. ts wrote: > >>>>> "J" == John Fletcher writes: > > J> I have tried specifying > J> --with-tcl-include=/usr/include > J> etc and nothing seems to make a difference. > > Well, try to cd to ext/tcltklib and run ruby extconf.rb to see what it say, > for example > > svg% cd ext/tcltklib > svg% > > svg% 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... yes > checking for tcl.h... yes > checking for tk.h... yes > checking for XOpenDisplay() in -lX11... yes > checking for Tcl_FindExecutable() in -ltcl... yes > checking for Tk_Init() in -ltk... yes > creating Makefile > svg% > > be sure to have all header and libraries installed > > Guy Decoux Thanks for this. I can now run the script above. I still get a no for tk.h although I have told it where it is (usr/include) and it finds tcl.h in the same location. The readme file does not describe any of these options. What should --with-tk-dir point to if I already have --with-tk-include and --with-tk-lib? Thanks John