Overview
| Artifact ID: | fae8ee65d8256491b37b32688ba654002cb958a59e0b2aa75a550c4873698ca9 |
|---|---|
| Ticket: | 92c2169782c2e0068d573dba9eb99d390ade31a7
macOS compiling and using Tcl8.7/Tk8.7 |
| User & Date: | anonymous on 2021-01-28 19:21:54 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi Jan, I'm trying to build and use Tcl8.7 on macOS (macOS11) so here's what I'm doing: I've deleted tclsh8.6 from /usr/local/bin (and Wish also) I compile Tcl8.7 from the latest core-8-branch. compile is fine. at sudo make -C macosx install-deploy stage I've got: Making directory /Library/Frameworks/Tcl.framework/Versions/8.7/PrivateHeaders Installing private header files to /Library/Frameworks/Tcl.framework/Versions/8.7/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.7 (or the equivalent tclsh87.exe on Windows). make[3]: *** [html-tcl] Error 1 make[2]: *** [install-strip] Error 2 make[1]: *** [install-tcl] Error 2 make: *** [install-deploy] Error 2 from my point of view it's strange because I just want to compile Tcl8.7... at this point Tcl.framework is installed in /Library/Frameworks/Tcl.framework, so I assume this is ok. Am I right? next I compile Tk8.7 wiht a custom #ifdef (because of tkMacOSXSysTray.c that does not understand -mmacosx-version-min=10.14). make -C macosx deploy CFLAGS="-O2 -mmacosx-version-min=10.14 -DDONT_BUILD_TARGET_HAS_NOTIFICATION" no complains for Tk now I want to link my app with Tcl.framework and Tk.framework. I use cmake for this stage which works fine with tcl/tk8.6 so when I build my app I got: -- 22/40: fixing up '/Users/nico/daylight/DLight.app/Contents/Frameworks/Tcl.framework/Versions/8.7/Tcl' /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: fatal error: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: /Users/nico/daylight/DLight.app/Contents/Frameworks/Tcl.framework/Versions/8.7/Tcl CMake Error at /usr/local/share/cmake-3.15/Modules/BundleUtilities.cmake:915 (message): Command failed: '/usr/bin/install_name_tool' '-id' '@executable_path/../Frameworks/Tcl.framework/Versions/8.7/Tcl' '/Users/nico/daylight/DLight.app/Contents/Frameworks/Tcl.framework/Versions/8.7/Tcl' Call Stack (most recent call first): /usr/local/share/cmake-3.15/Modules/BundleUtilities.cmake:989 (fixup_bundle_item) cmake_install.cmake:167 (fixup_bundle) so please, can you point me what I'm doing wrong? best regards, Nicolas
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "10e302b1a1ae78d60a0878d87bdb4b5f874b815e"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "macOS compiling and using Tcl8.7/Tk8.7"
- type changed to: "Bug"