在 OSX 中安装 Tcl 和 Tix

在 OSX 中安装 Tcl 和 Tix

我在 OSX 上安装 Tix 时遇到问题,我使用的 Tix 版本是 8.4.3。我尝试按照 README 中的说明进行安装

% ./configure
% make
% make install

并且在 make 一开始它就给了我:

xXpm.o tixUnixWm.o  -L/Library/Frameworks/Tcl.framework -ltclstub8.5 -L/Library/Frameworks/Tk.framework -ltkstub8.5 
ld: warning: in /Library/Frameworks/Tcl.framework/libtclstub8.5.a, missing required architecture x86_64 in file
ld: warning: in /Library/Frameworks/Tk.framework/libtkstub8.5.a, missing required architecture x86_64 in file
Undefined symbols:

(A whole long list of things)


at the very end
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libTix8.4.3.dylib] Error 1

编辑:这是中间的所有错误..

ld: warning: in /Library/Frameworks/Tcl.framework/libtclstub8.5.a, missing required architecture x86_64 in file
ld: warning: in /Library/Frameworks/Tk.framework/libtkstub8.5.a, missing required architecture x86_64 in file
Undefined symbols:
  "_Tk_InitStubs", referenced from:
      _Tix_Init in tixInit.o
  "_Tcl_InitStubs", referenced from:
      _Tix_Init in tixInit.o
  "_tclStubsPtr", referenced from:
      _FreeParseOptions in tixClass.o
      _FreeParseOptions in tixClass.o
      _Tix_UninitializedClassCmd in tixClass.o
      _Tix_UninitializedClassCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_InstanceCmd in tixClass.o
      _Tix_CreateInstanceCmd in tixClass.o
      _SetupAttribute in tixClass.o
      _SetupAttribute in tixClass.o
      _SetupAttribute in tixClass.o
      _ClassTableDeleteProc in tixClass.o
      _CreateClassRecord in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o
      _InitClass in tixClass.o

      _Tix_ClassCmd in tixClass.o
      _EventProc in tixCmds.o
      _IdleHandler in tixCmds.o
      _MapEventProc in tixCmds.o
      _MapEventProc in tixCmds.o
      _Tix_GetDefaultCmd in tixCmds.o
      _Tix_GetDefaultCmd in tixCmds.o
      _Tix_TmpLineCmd in tixCmds.o
      _Tix_ParentWindow in tixCmds.o
      _Tix_ParentWindow in tixCmds.o
      _Tix_DoWhenMappedCmd in tixCmds.o
      _Tix_DoWhenMappedCmd in tixCmds.o
      _Tix_DoWhenMappedCmd in tixCmds.o
      _Tix_DoWhenIdleCmd in tixCmds.o
      _Tix_DoWhenIdleCmd in tixCmds.o
      _Tix_DoWhenIdleCmd in tixCmds.o
      _Tix_DoWhenIdleCmd in tixCmds.o
      _Tix_DoWhenIdleCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_HandleOptionsCmd in tixCmds.o
      _Tix_Get3DBorderCmd in tixCmds.o
      _Tix_Get3DBorderCmd in tixCmds.o
      _Tix_Get3DBorderCmd in tixCmds.o
      _tixStrDup in tixCompat.o
      _Tix_ArgcError in tixError.o
      _Tix_ValueMissingError in tixError.o
      _Tix_UnknownPublicMethodError in tixError.o
      _FreeClientStruct in tixGe

相关内容