Yup, ideally the Wish used by Pd could be compiled everywhere, but that's a limitation of the Tcl/Tk sources. This is why we distribute the pre-compiled Wish.

On Oct 24, 2020, at 12:00 PM, pd-dev-request@lists.iem.at wrote:

Message: 1
Date: Sat, 24 Oct 2020 10:35:27 +0200 (CEST)
From: Nicolas Danet <nicolas.danet@free.fr>
To: pd-dev <pd-dev@lists.iem.at>
Subject: [PD-dev] Compile Wish.app 8.6.10 fails on macOS Catalina
(was: What is Wish version of Pd?)
Message-ID:
<1757910632.5168554.1603528527280.JavaMail.root@zimbra9-e2.priv.proxad.net>

Content-Type: text/plain; charset=utf-8


Hi.

./tcltk-wish.sh 8.6.10

The command above fails on macOS 10.15.7 ending with that:

Undefined symbols for architecture x86_64:
 "_TclIsSpaceProc", referenced from:
     _strtoul in libtclstub8.6.a(strtoul.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [tktest-real] Error 1
make[3]: *** [tktest] Error 2
make[2]: *** [build-tk] Error 2
make[1]: *** [tk] Error 2
make: *** [embedded-deploy] Error 2

I got the same issue with the code from GitHub (release tag) < https://github.com/tcltk/tk/releases/tag/release >.
I guess that this tag equals the downloaded sources from SoureForge.
The core-8.6.branch < https://github.com/tcltk/tk/tree/core-8-6-branch > compiles fine, but (as i said it in previous thread) seems buggy for now.

Anyway it doesn't matter. I can open an issue on GitHub if you want.

But TBH it is more a problem for my fork, than for Pd itself!

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com