From: Alpha Blue Date: 2010-01-20T04:06:05+09:00 Subject: Re: Creating GUI applications with Ruby 1.9.1 Roger Pack wrote: > >> A standard GUI should be easy to install on every platform. >> Tk is easy to install >> Java is available every where too > > I'd imagine that multi-platform is easier with jruby (rawr) or > appcelerator or possibly tk or qt. > > If you want to use tk on your windows distro [and are using mingw 1.9.x] > you can install it as a gem from > > http://github.com/rdp/tk_as_gem > > Also thanks for the links and review of appcelerator--I've added it to > the list > > http://wiki.github.com/rdp/ruby_talk_faq/ruby-gui-toolkit-comparison I tried to install this as a gem using many types of combinations: gem install tk_as_gem --platform x86-mingw32 gem install tk_as_gem --source http://github.com/rdp/tk_as_gem --platform x86-mingw32 etc. The second one fails saying it can't find a gem. The first one fails, even thought I have activetcl installed in C:\tcl and it's included in my path and verified. ERRORS: C:\Users\Joel>gem install -d tk_as_gem --platform x86-mingw32 Building native extensions. This could take a while... ERROR: Error installing tk_as_gem: ERROR: Failed to build gem native extension. C:/Ruby19/bin/ruby.exe extconf.rb checking for ruby_native_thread_p() in ruby.h... yes checking for rb_errinfo() in ruby.h... yes checking for rb_safe_level() in ruby.h... yes checking for struct RArray.ptr in ruby.h... no checking for struct RArray.len in ruby.h... no checking for tcl.h... no checking for tcl.h in /usr/local/include,/usr/pkg/include,/usr/include,/Tcl/incl ude,/usr/local/include/tcl8.4,/usr/pkg/include/tcl8.4,/usr/include/tcl8.4,/Tcl/i nclude/tcl8.4,/usr/local/include/tcl8.7,/usr/pkg/include/tcl8.7,/usr/include/tcl 8.7,/Tcl/include/tcl8.7,/usr/local/include/tcl8.6,/usr/pkg/include/tcl8.6,/usr/i nclude/tcl8.6,/Tcl/include/tcl8.6,/usr/local/include/tcl8.5,/usr/pkg/include/tcl 8.5,/usr/include/tcl8.5,/Tcl/include/tcl8.5,/usr/local/include/tcl8.3,/usr/pkg/i nclude/tcl8.3,/usr/include/tcl8.3,/Tcl/include/tcl8.3,/usr/local/include/tcl8.2, /usr/pkg/include/tcl8.2,/usr/include/tcl8.2,/Tcl/include/tcl8.2,/usr/local/inclu de/tcl8.1,/usr/pkg/include/tcl8.1,/usr/include/tcl8.1,/Tcl/include/tcl8.1,/usr/l ocal/include/tcl8.0,/usr/pkg/include/tcl8.0,/usr/include/tcl8.0,/Tcl/include/tcl 8.0,/usr/local/include/tcl7.6,/usr/pkg/include/tcl7.6,/usr/include/tcl7.6,/Tcl/i nclude/tcl7.6... yes checking for tk.h... yes checking for Tcl_FindExecutable() in -ltcl8.4... no checking for Tcl_FindExecutable() in -ltcl84... no checking for Tcl_FindExecutable() in -ltcl8.4g... no checking for Tcl_FindExecutable() in -ltcl84g... no checking for Tcl_FindExecutable() in -ltcl8.4... no checking for Tcl_FindExecutable() in -ltcl84... no checking for Tcl_FindExecutable() in -ltcl8.4g... no checking for Tcl_FindExecutable() in -ltcl84g... no checking for Tcl_FindExecutable() in -ltcl8.7... no checking for Tcl_FindExecutable() in -ltcl87... no checking for Tcl_FindExecutable() in -ltcl8.7g... no checking for Tcl_FindExecutable() in -ltcl87g... no checking for Tcl_FindExecutable() in -ltcl8.7... no checking for Tcl_FindExecutable() in -ltcl87... no checking for Tcl_FindExecutable() in -ltcl8.7g... no checking for Tcl_FindExecutable() in -ltcl87g... no checking for Tcl_FindExecutable() in -ltcl8.6... no checking for Tcl_FindExecutable() in -ltcl86... no checking for Tcl_FindExecutable() in -ltcl8.6g... no checking for Tcl_FindExecutable() in -ltcl86g... no checking for Tcl_FindExecutable() in -ltcl8.6... no checking for Tcl_FindExecutable() in -ltcl86... no checking for Tcl_FindExecutable() in -ltcl8.6g... no checking for Tcl_FindExecutable() in -ltcl86g... no checking for Tcl_FindExecutable() in -ltcl8.5... no checking for Tcl_FindExecutable() in -ltcl85... yes *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=C:/Ruby19/bin/ruby --with-tcl-framework-header --without-tcl-framework-header --with-tk-framework-header --without-tk-framework-header --with-tcltk-framework --without-tcltk-framework --enable-tcltk-framework --disable-tcltk-framework --enable-mac-tcltk-framework --disable-mac-tcltk-framework --with-tk-dir --without-tk-dir --with-tk-include --without-tk-include=${tk-dir}/include --with-tk-lib --without-tk-lib=${tk-dir}/lib --with-tcl-dir --without-tcl-dir --with-tcl-include --without-tcl-include=${tcl-dir}/include --with-tcl-lib --without-tcl-lib=${tcl-dir}/lib --with-X11-dir --without-X11-dir --with-X11-include --without-X11-include=${X11-dir}/include --with-X11-lib --without-X11-lib=${X11-dir}/lib --with-tk-lib --without-tk-lib --with-tcl-lib --without-tcl-lib --with-X11-lib --without-X11-lib --with-tklib --without-tklib --with-tcllib --without-tcllib --enable-tcltk_stubs --disable-tcltk_stubs --with-tcltk_stubs --without-tcltk_stubs --with-tcltkversion --without-tcltkversion --with-X11 --without-X11 --with-tcl8.4lib --without-tcl8.4lib --with-tcl84lib --without-tcl84lib --with-tcl8.4glib --without-tcl8.4glib --with-tcl84glib --without-tcl84glib --with-tcl8.4lib --without-tcl8.4lib --with-tcl84lib --without-tcl84lib --with-tcl8.4glib --without-tcl8.4glib --with-tcl84glib --without-tcl84glib --with-tcl8.7lib --without-tcl8.7lib --with-tcl87lib --without-tcl87lib --with-tcl8.7glib --without-tcl8.7glib --with-tcl87glib --without-tcl87glib --with-tcl8.7lib --without-tcl8.7lib --with-tcl87lib --without-tcl87lib --with-tcl8.7glib --without-tcl8.7glib --with-tcl87glib --without-tcl87glib --with-tcl8.6lib --without-tcl8.6lib --with-tcl86lib --without-tcl86lib --with-tcl8.6glib --without-tcl8.6glib --with-tcl86glib --without-tcl86glib --with-tcl8.6lib --without-tcl8.6lib --with-tcl86lib --without-tcl86lib --with-tcl8.6glib --without-tcl8.6glib --with-tcl86glib --without-tcl86glib --with-tcl8.5lib --without-tcl8.5lib --with-tcl85lib --without-tcl85lib extconf.rb:154:in `require': no such file to load -- display (LoadError) from extconf.rb:154:in `find_tcl' from extconf.rb:407:in `
' -- Posted via http://www.ruby-forum.com/.