From: ajm@... (Andy Moreton) Date: 2001-08-15T00:50:29+09:00 Subject: [ruby-talk:19698] Re: Compiling Ruby with cygwin and Tk support decoux@moulon.inra.fr (ts) wrote in <200108141133.f7EBX1e13892 @moulon.inra.fr>: >>>>>> "M" == Manuel Zabelt writes: > >M> I found the ext /directory in the source tree of Ruby. I edited the >M> Setup file. > > You don't need generally to modify Setup. > > If, when you compile ruby, it don't try to compile tcl/tk this is > generally because it don't find the include files, or the library > > When you run configure you can give some extra arguments > > --with-tcl-include to specify the directory for tcl includes > --with-tcl-lib tcl libraries > --with-tk-include to specify the directory for tk includes > --with-tk-lib tk library > >Guy Decoux Guy is correct - ruby builds without modifications: 1) Download and unpack ruby-1.6.4.tar.gz 2) Download and install X11 headers from cygwin port of XFree86: http://sources.redhat.com/cygwin/xfree/ 3) Build ruby: ./configure make make test make install HTH AndyM -- Virata, Unit 230 Cambridge Science Park, Milton Road, Cambridge CB4 0WB, UK http://www.virata.com/ Tel: +44 1223 707400 Fax: +44 1223 707447