I am having the same issue with MacBook Pro, running 10.5.1. Tcl upgraded fine but tk did not. Regards, On Dec 24, 2007, at 3:18 PM, Shawn Protsman wrote:
Macports 1.6 Mac OS 10.4.11
---> Building tk with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ include -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tcl8.5.0/generic -Wall -Wno- implicit-int -fno-common -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../unix -I/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic -I/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../bitmaps -I/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0// generic -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0// unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME= \"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" - DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 - DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\) \) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib \" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 - DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 - DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /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 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 ---> Building tk with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ include -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tcl8.5.0/generic -Wall -Wno- implicit-int -fno-common -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../unix -I/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../generic -I/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../bitmaps -I/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0// generic -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_x11_tk/work/tk8.5.0/unix/../../tcl8.5.0// unix -I/usr/X11R6/include -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME= \"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" - DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 - DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\) \) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib \" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 - DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 - DHAVE_XFT=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /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 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 _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- Takashi Yoshida tyoshida [at] mac [dot] com