Conference Room SAD
[thread display] [new arrival display] [word search] [past log] [管理用]

Subject Re^2: cygwin
Date: 2008/11/08(Sat) 21:30:54
ContributorAC

> >   Windows 上の cygwin で TclTK ありで、インストール成功された方、
> > いらっしゃいましたらやり方をお教え下さいますよう、お願い致します。
> > 生出さんの sad.conf
> > http://acc-physics.kek.jp/cgi-bin/SAD-BBS/wforum.cgi?no=629&reno=612&oya=612&mode=msgview&page=0
> > を使って、X11 は YES、TclTK は NO にするとうまくいきますが、TclTk を
> > YES にすると、パッチを当てようとした時に Windows ではファイル名に
> > : が使えないせいで、パッチが作れなくてエラーになってしまいます。
> > そもそも、Unix 上では files/tcl や files/tk 下に : の入ったファイルが
> > 多数展開されますが、Windows の cygwin では展開されません。(ファイルが
> > 作れませんので……)
> >
> 生出さんの環境は、MacOSX上の仮想マシン上で動く cygwinで File Systemは
> ホストOSであるMacOSX側からエクスポートされているので、'':''が複数バイトに写像されている
> 特殊な環境です。
>
> Cygwin上で、'':''を含むファイル名を生成できないのは、Cygwinの実装上の制限だと思われます。

oldsad-amorita-snapshot-2767にて、TclTk YESでは以下のところでコンパイルが失敗します。

gcc-4 -c -O -DSAD_FORCE_X11 -DHAVE_TM_ZONE -pipe -Wall -Wno-implicit-int -I"." -I/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../unix -I/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../generic -I/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../libtommath -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DTCL_SHLIB_EXT=\"\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 /home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../unix/tclUnixChan.c
/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../unix/tclUnixChan.c: In function 'CreateSocketAddress':
/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../unix/tclUnixChan.c:2497: error: 'EAI_SYSTEM' undeclared (first use in this function)
/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../unix/tclUnixChan.c:2497: error: (Each undeclared identifier is reported only once
/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix/../unix/tclUnixChan.c:2497: error: for each function it appears in.)
make[3]: *** [tclUnixChan.o] Error 1
make[3]: Leaving directory `/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/unix'
make[2]: *** [/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01/tcl8.5.5/.build_done] Error 2
make[2]: Leaving directory `/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767/obj/i386-CYGWIN_NT-5.01'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kekb/oldsad-amorita-snapshot-2767/oldsad-amorita-snapshot-2767'
make: *** [all] Error 2


- 関連一覧ツリー (Click ▼ to display all articles in a thread.)