From: Roger Pack Date: 2010-03-06T04:08:20+09:00 Subject: [ruby-core:28516] [Bug #2840] Tk doesn't built in mingw Bug #2840: Tk doesn't built in mingw http://redmine.ruby-lang.org/issues/show/2840 Author: Roger Pack Status: Open, Priority: Normal ruby -v: mingw Currently the tk extension "search" finds existing Tk headers (ex: c:\Tcl), but then fails when it tries to compile with them. Find Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk. make[1]: Entering directory `/c/dev/ruby/downloads/ruby_trunk/ext/tk' ../../miniruby.exe -I'../..' -I'../.././lib' -I'../../.ext/i386-mingw32' -I'../../.ext/common' -I./- -I'../.././ext' -rpurelib.rb -e "puts 'EXPORTS', 'Init_tcltklib'" > tcltklib-i386-mingw32.def gcc -I. -I../../.ext/include/i386-mingw32 -I../.././include -I../.././ext/tk -DRUBY_EXTCONF_H=\"extconf.h\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DWITH_TCL_ENABLE_THREAD=0 -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -o stubs.o -c stubs.c In file included from stubs.c:8: stubs.h:1:17: tcl.h: No such file or directory In file included from stubs.c:8: stubs.h:8: error: syntax error before '*' token ---------------------------------------- http://redmine.ruby-lang.org