Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13678 (closed defect: fixed)

Opened 11 months ago

Last modified 9 months ago

tk 8.5 doesn't build if 8.4.x is already installed

Reported by: kevwil@… Owned by: mww@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc: ram@…
Port:

Description

Here's the error message. I'm on OS X 10.5.1 with MacPorts 1.600.

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic/ttk/ttkBlink.c:19:
/opt/local/include/tk.h:23:3: error: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
make: *** [ttkBlink.o] Error 1

Error: Unable to upgrade port: 1

Change History

follow-up: ↓ 4   Changed 11 months ago by ryandesign@…

  • owner changed from macports-tickets@… to mww@…
  • summary changed from tk 8.5 doesn't build to tk 8.5 doesn't build if 8.4.x is already installed
  • milestone set to Port Bugs

I saw this too. It's only an upgrade problem. To work around it:

sudo port -f uninstall tk
sudo port install tk

  Changed 11 months ago by ryandesign@…

  • version changed from 1.5.2 to 1.6.0

  Changed 11 months ago by ram@…

  • cc ram@… added

in reply to: ↑ 1   Changed 11 months ago by kevwil@…

Replying to ryandesign@macports.org:

I saw this too. It's only an upgrade problem. To work around it: {{{ sudo port -f uninstall tk sudo port install tk }}}

Yeah, that worked for me. It's an upgrade problem. Thanks for the heads-up!

  Changed 9 months ago by mww@…

  • status changed from new to closed
  • resolution set to fixed

I've changed the include-flags so this _probably_ doesn't occur anymore (couldn't reproduce in the 1st place)

Note: See TracTickets for help on using tickets.