From: Albert Schlef Date: 2009-02-08T08:48:04+09:00 Subject: Re: A Tk window Hidetoshi NAGAI wrote: > From: Albert Schlef >> > Nevermind, I've found instructions, here: >> > >> > http://www.tkdocs.com/tutorial/install.html >> >> I gave up, it's too complicated for me. I'll just wait for the next >> release of Ubuntu. > > Did you see '/ext/tk/README.tcltklib' ? > Can't it help you ? Thanks! I made it. It was actually simple. My Tk apps look decent now :-) Mark Roseman wrote: > As the author of the www.tkdocs.com site, I'd very much > welcome any feedback as to the installation instructions Two things: 1. There's no need to compile the whole Ruby. After I extracted Ruby's source tarball I went to the 'ext/tk' folder and compiled only the Tk extension. As Nagai points out, that folder has a README.tcltklib which lists the command line options one needs to pass to 'ruby extconf.rb'. 2. There's no need to mention ActiveState or ActiveTcl. On my linux distro (Ubuntu) I just type "sudo apt-get install tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev" and everything gets installed. -- Posted via http://www.ruby-forum.com/.