make[1]: Leaving directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/syck’
compiling syslog
compiling tk
make[1]: Entering directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/tk’
gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/tk -I/Tcl/include -DRUBY_EXTCONF_H=\”extconf.h\” -DWITH_TCL_ENABLE_THREAD=1 -O2 -g -Wall -Wno-parentheses -o stubs.o -c ../../../ruby_1_9/ext/tk/stubs.c
In file included from ../../../ruby_1_9/ext/tk/stubs.c:8:
../../../ruby_1_9/ext/tk/stubs.h:1:17: tcl.h: No such file or directory
In file included from ../../../ruby_1_9/ext/tk/stubs.c:8:
../../../ruby_1_9/ext/tk/stubs.h:8: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.h:8: warning: type defaults to `int’ in declaration of `ruby_tcl_create_ip_and_stubs_init’
../../../ruby_1_9/ext/tk/stubs.h:8: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.h:10: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.h:11: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c:10:16: tk.h: No such file or directory
../../../ruby_1_9/ext/tk/stubs.c:18: error: syntax error before “Tcl_Interp”
../../../ruby_1_9/ext/tk/stubs.c:18: warning: type defaults to `int’ in declaration of `ip’
../../../ruby_1_9/ext/tk/stubs.c:18: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.c:19: error: syntax error before ‘{‘ token
../../../ruby_1_9/ext/tk/stubs.c:40: warning: type defaults to `int’ in declaration of `Tcl_ResetResult’
../../../ruby_1_9/ext/tk/stubs.c:40: warning: parameter names (without types) in function declaration
../../../ruby_1_9/ext/tk/stubs.c:40: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.c:42: warning: type defaults to `int’ in declaration of `nativethread_checked’
../../../ruby_1_9/ext/tk/stubs.c:42: error: redefinition of ‘nativethread_checked’
../../../ruby_1_9/ext/tk/stubs.c:14: error: previous definition of ‘nativethread_checked’ was here
../../../ruby_1_9/ext/tk/stubs.c:42: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.c:43: error: syntax error before ‘}’ token
../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_open_tcl_dll’:
../../../ruby_1_9/ext/tk/stubs.c:405: warning: implicit declaration of function `Tcl_FindExecutable’
../../../ruby_1_9/ext/tk/stubs.c: At top level:
../../../ruby_1_9/ext/tk/stubs.c:448: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c:455: warning: return type defaults to `int’
../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_tcl_create_ip_and_stubs_init’:
../../../ruby_1_9/ext/tk/stubs.c:456: error: `Tcl_Interp’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c:456: error: (Each undeclared identifier is reported only once
../../../ruby_1_9/ext/tk/stubs.c:456: error: for each function it appears in.)
../../../ruby_1_9/ext/tk/stubs.c:456: error: `tcl_ip’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c:464: warning: implicit declaration of function `Tcl_CreateInterp’
../../../ruby_1_9/ext/tk/stubs.c:467: error: syntax error before ‘)’ token
../../../ruby_1_9/ext/tk/stubs.c:470: warning: implicit declaration of function `_nativethread_consistency_check’
../../../ruby_1_9/ext/tk/stubs.c: At top level:
../../../ruby_1_9/ext/tk/stubs.c:483: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_tk_stubs_init’:
../../../ruby_1_9/ext/tk/stubs.c:489: warning: implicit declaration of function `Tk_Init’
../../../ruby_1_9/ext/tk/stubs.c:489: error: `tcl_ip’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c:489: error: `TCL_ERROR’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c: At top level:
../../../ruby_1_9/ext/tk/stubs.c:501: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c:14: warning: ‘nativethread_checked’ defined but not used
make[1]: *** [stubs.o] Error 1
make[1]: Leaving directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/tk’
make: *** [mkmain.sh] Error 1
rake aborted!
Command failed with status (2): ["C:/dev/ruby/downloads/oneclick/sandbox/ms...]
meant “you installed tcl 8.4 in C:\tcl but somehow it is passing in the path as /Tcl instead of /c/Tcl as it should [1.9.1 branch only?]”
fix: edit the Makefile within the ext/tk dir, change the paths to be the right ones