Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13678 closed defect (fixed)

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

Reported by: kevwil@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: skymoo (Adam Mercer)
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 (6)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to mww@…
Summary: tk 8.5 doesn't buildtk 8.5 doesn't build if 8.4.x is already installed

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

sudo port -f uninstall tk
sudo port install tk

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Version: 1.5.21.6.0

comment:3 Changed 16 years ago by skymoo (Adam Mercer)

Cc: ram@… added

comment:4 in reply to:  1 Changed 16 years 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!

comment:5 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

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

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.