From: "Gerrit P. Haase" Date: 2001-09-13T04:01:42+09:00 Subject: [ruby-talk:21175] Re: Compiling Ruby for Windows/NT Ned Konz schrieb am 2001-09-13, 2:46: Hi Ned, >I got the 1.6.4 sources, and followed the instructions in the win32 >directory. Ruby compiled OK, and I can run it. > >However, a number of libraries weren't installed (tk, gtk, ...). > >How do I get them to install properly? ruby tk needs some X11 headers, if you haven't installed Xfree86 you need to install at least the tk-headers, get it here: http://www.vso.cape.com/~nhv/files/cygwin/X11.zip put the package in the root dir '/' and type: $ unzip X11.zip Archive: X11.zip creating: X11/ inflating: usr/include/X11/Xutil.h inflating: usr/include/X11/keysym.h inflating: usr/include/X11/keysymdef.h inflating: usr/include/X11/simx.h inflating: usr/include/X11/X.h inflating: usr/include/X11/Xatom.h inflating: usr/include/X11/Xfuncproto.h inflating: usr/include/X11/Xlib.h inflating: usr/include/X11/xpm.h inflating: usr/include/X11/cursorfont.h If you have X installed, make a symlink: $ ln -s /usr/X11R6/include/X11 /usr/include/X11 That is because of this part in tk.h: ===================================== [...] #ifndef _XLIB_H # ifdef MAC_TCL # include # include # else # include # endif #endif [...] This all i have only tested on cygwin. Gerrit -- =^..^=