[MacPorts] #22954: wish does not run on Snow Leopard
#22954: wish does not run on Snow Leopard --------------------------------+------------------------------------------- Reporter: mdippery@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: snowleopard | Port: tcl --------------------------------+------------------------------------------- I'm using Mac OS X 10.6.2. I installed the `tcl` port. It built without problems, but whenever I try to run `wish` (or a script that uses `wish`) I get the following error: {{{ TclMacOSXNotifierAddRunLoopMode: Tcl not built with CoreFoundation support }}} `wish` then crashes. -- Ticket URL: <http://trac.macports.org/ticket/22954> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard --------------------------------+------------------------------------------- Reporter: mdippery@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: tcl --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * keywords: snowleopard => * owner: macports-tickets@… => mww@… Comment: wfm on Snow Leopard. Please post the output of the following: {{{ port installed tcl }}} -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard --------------------------------+------------------------------------------- Reporter: mdippery@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: tk --------------------------------+------------------------------------------- Changes (by blb@…): * port: tcl => tk Comment: Note that the tk port is what gives you wish, so the output from {{{ port installed tcl tk }}} would be more interesting. -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard --------------------------------+------------------------------------------- Reporter: mdippery@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: tk --------------------------------+------------------------------------------- Comment(by mdippery@…): Replying to [comment:2 blb@…]:
Note that the tk port is what gives you wish, so the output from {{{ port installed tcl tk }}} would be more interesting.
Here it is: {{{ The following ports are currently installed: tcl @8.5.8_0+darwin+threads (active) tk @8.5.7_0+darwin+quartz (active) }}} (The version numbers are different because I was able to update Tcl, but Tk failed to update to the newest version. This is described in #21512.) -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard --------------------------------+------------------------------------------- Reporter: mdippery@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: tk --------------------------------+------------------------------------------- Comment(by mdippery@…): After taking another look, I'm guessing that the real issue is that the `+quartz` variant for `tk` doesn't build on Snow Leopard. -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: duplicate | Keywords: Port: tk | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #20799 -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: duplicate | Keywords: Port: tk | ---------------------------------+------------------------------------------ Comment(by mdippery@…): I re-examined this issue and found that while the problem cropped up when I launched MacPorts' `wish`, the issue *is* with `tcl`, not `tk`. The problem is that the `--disable-corefoundation` flag is passed to `./configure` when building `tcl`, but building without CoreFoundation support breaks the `+quartz` variant of `tk`. I'm not sure why `tcl` is built without CoreFoundation support. I did find [http://lists.macosforge.org/pipermail/macports- dev/2009-October/010420.html this post] which describes the issue, but clearly fixing *that* issue also breaks usage of `tcl` with `tk +quartz`. I'm posting a patch that fixes the problem, although perhaps it'd be better to allow `tcl` to have a CoreFoundation-enabled variant? I'll let the maintainers think about it. -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Changes (by blb@…): * status: closed => reopened * resolution: duplicate => * port: tk => tcl Comment: Reopening as it is a separate issue from tk+quartz (this is for Tcl's CoreFoundation support). -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Comment(by jmr@…): I remember claims that CF support caused problems being brought up in relation to one of the recent Tcl/Tk updates. -- Ticket URL: <http://trac.macports.org/ticket/22954#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Comment(by JACurrivan@…): Replying to [ticket:22954 mdippery@…]:
I'm using Mac OS X 10.6.2. I installed the `tcl` port. It built without problems, but whenever I try to run `wish` (or a script that uses `wish`) I get the following error:
{{{ TclMacOSXNotifierAddRunLoopMode: Tcl not built with CoreFoundation support }}}
`wish` then crashes.
Hi everyone, I am also having this problem. I am new to MacPorts, can someone run through steps for how to use this tcl.patch? I am not sure which folder I need to be in to apply the patch. Is it as simple as finding that folder and then doing something like "patch -p1 < tcl.patch" ? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/22954#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Comment(by zeph0x@…):
Hi everyone, I am also having this problem. I am new to MacPorts, can someone run through steps for how to use this tcl.patch? I am not sure which folder I need to be in to apply the patch. Is it as simple as finding that folder and then doing something like "patch -p1 < tcl.patch" ? Thanks.
Do this: {{{ $ cd /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl $ sudo patch < ~/Downloads/tcl.2.patch $ sudo port install tcl }}} All Portfiles are found in the /opt/local/var/macports/sources/rsync.macports.org/release/port. You can run a find command from there to find your port: {{{ $ find . -type d -iname tcl ./lang/tcl $ }}} Or use the port command to find what folder it is in {{{ $ port info tcl tcl @8.5.9, Revision 1 (lang) }}} -- Ticket URL: <https://trac.macports.org/ticket/22954#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Comment(by macports@…): The issue seems to be back. wish or using it provide the error. So tcl 8.5.9 does not have the patch from mdippery can someone add it in please port installed tcl tk The following ports are currently installed: tcl @8.5.7_1+darwin tcl @8.5.8_0 tcl @8.5.8_0+darwin tcl @8.5.8_0+universal tcl @8.5.9_0+universal (active) tk @8.5.7_0+darwin+quartz (active) -- Ticket URL: <https://trac.macports.org/ticket/22954#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Comment(by lkraider+ports@…): I'm seeing this issue too, patch fixes it. Snow Leopard 10.6.8 macports 2.0.1 tcl @8.5.9_0+threads -- Ticket URL: <https://trac.macports.org/ticket/22954#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22954: wish does not run on Snow Leopard ---------------------------------+------------------------------------------ Reporter: mdippery@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: duplicate | Keywords: Port: tcl | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: reopened => closed * resolution: => duplicate -- Ticket URL: <https://trac.macports.org/ticket/22954#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts