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_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 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... Thanks, --Doug
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
On 2007 Dec 23, at 12:19 AM, Ryan Schmidt wrote:
On Dec 22, 2007, at 23:17, Douglas Philips wrote:
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
Yep, that worked alright. It seems straightforward enough to repro that I decided to just go ahead and use the work-around. Thanks! --Doug
participants (2)
-
Douglas Philips
-
Ryan Schmidt