You are here

[질문] Cygwin에 TK install

안녕 하세요?
Cygwin에 TK 8.5.7를 install 하고자 하는데 아래와 같은 error가 발생 합니다.
제가 보기로는 unix 와 window 환경을 헷갈려 하는 것 같은데....
저는 cygwin에 설치 하기 위해서 unix 것을 사용 하는데 installer는 Window로 인식 한것 같습니다.
어찌 하여야 하나요?

make
gcc -c -O  -pipe  -Wall  -I/home/SunKim/tools/tk/tk8.5.7/unix/../unix -I/home/SunKim/tools/tk/tk8.5.7/unix/../generic -I/home/SunKim/tools/tk/tk8.5.7/u
nix/../bitmaps -I/home/SunKim/tools/tcl/tcl8.5.7/generic -I/home/SunKim/tools/tcl/tcl8.5.7/unix  -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKA
GE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -D
HAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_SHLIB_EXT=\"\" -DT
CL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DH
AVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1      -DTCL_NO_DEPRECATED    /home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c
In file included from /home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:19:
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/default.h:21:29: tkWinDefault.h: No such file or directory
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:67: error: `DEF_BUTTON_ACTIVE_BG_COLOR' undeclared here (not in a function)
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:67: error: initializer element is not constant
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:67: error: (near initialization for `labelOptionSpecs[0].defValue')
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:68: error: `DEF_BUTTON_ACTIVE_BG_MONO' undeclared here (not in a function)
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:68: error: initializer element is not constant
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:68: error: (near initialization for `labelOptionSpecs[0].clientData')
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:68: error: initializer element is not constant
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:68: error: (near initialization for `labelOptionSpecs[0]')
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:70: error: `DEF_BUTTON_ACTIVE_FG_COLOR' undeclared here (not in a function)
/home/SunKim/tools/tk/tk8.5.7/unix/../generic/tkButton.c:70: error: initializer element is not constant
...