OS X 10.4.11, Ports v 1.6.0, upgrading tk...

Ryan Schmidt ryandesign at macports.org
Sat Dec 22 21:19:49 PST 2007


On Dec 22, 2007, at 23:17, Douglas Philips wrote:

> Just a few days ago I did a port -d selfupdate and moved up from  
> 1.5.2 to 1.6.0.
> A few hours ago I started the port upgrade commands on my outdated  
> ports.
> Everything went fine excpet for tk...
> 	8.4.16_0 is the currently installed version.
> tcl is already @8.5.0_0
> But, when I try the port upgrade on tk (and yes, I've done a port  
> clean --all tk several tiems now),
> I get this error:
>
> In file included from /opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_t 
> k/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
>
>
> And sure enough, when I look in /opt/local/include/tk.h, it is  
> checking for 8.4.
>
> Has anyone else seen this? Maybe it is just something about my system?
> Anyways, wanted to ping before opening a ticket...

Yes, it happened to me too.

Workaround:

sudo port -f uninstall tk
sudo port install tk





More information about the macports-dev mailing list