我正在尝试在Mac OS X Lion上构建64位Tcl / Tk。
./configure --enable-framework --enable-64-bit --prefix=/usr/local
make
sudo make install
一切正常,但make install
,我有版本冲突错误。
Installing private header files to
/Library/Frameworks/Tcl.framework/Versions/8.6/PrivateHeaders/
ERROR: version conflict for package "Tcl": have 8.5.9, need 8.6
If running this script from 'make html', set the NATIVE_TCLSH environment
variable to point to an installed tclsh8.6 (or the equivalent tclsh86.exe
on Windows).
make: *** [html-tcl] Error 1
出了什么问题?如何解决此错误?
答案 0 :(得分:3)
结果我需要直接传递NATIVE_TCLSH而不是通过环境:
sudo make install NATIVE_TCLSH=/usr/local/bin/tclsh8.6
答案 1 :(得分:1)
我需要设置环境变量:TCL_VERSION=8.6 sudo make install
。