Problem installing Tcl 8.6 on Mac OS X Lion

I am trying to build 64bit Tcl / Tk on Mac OS X Lion.

  • Download source from source forge
  • ./configure --enable-framework --enable-64-bit --prefix=/usr/local
  • make
  • sudo make install

Everything works fine, but with make install I have a version error.

 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 

Something went wrong? How to fix this error?

+4
source share
2 answers

I needed to set the environment variable: TCL_VERSION=8.6 sudo make install .

+1
source

Turns out I needed to pass NATIVE_TCLSH directly, and not through the environment:

 sudo make install NATIVE_TCLSH=/usr/local/bin/tclsh8.6 
+3
source

Source: https://habr.com/ru/post/1484085/


All Articles