Forum: Ruby-core [Bug #2840] Tk doesn't built in mingw

Posted by Roger Pack (Guest)
on 2010-03-05 20:14
(Received via mailing list)
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
Posted by Hidetoshi Nagai (Guest)
on 2010-03-13 02:17
(Received via mailing list)
Issue #2840 has been updated by Hidetoshi Nagai.

Status changed from Open to Closed
% Done changed from 0 to 100

This issue was solved with changeset r26901.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/2840
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.