#27449: itk: tclIntDecls.h:322: error: expected ')' before '->' token -------------------------------------+-------------------------------------- Reporter: csoong@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: itk -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * keywords: itk build problems => Old description:
an error occured during build of itk it is version 3.3 and utilizes tcl8.4.X however, macport already installed tcl8.5.9 version. is this leading to conflict? i dont know. Thanks! ----first error execution lines in log file :info:build /usr/bin/gcc-4.2 -pipe -DPACKAGE_NAME=\"itk\" -DPACKAGE_TARNAME=\"itk\" -DPACKAGE_VERSION=\"3.3\" -DPACKAGE_STRING=\"itk\ 3.3\" -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 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DUSE_ITCL_STUBS=1 -DITK_LIBRARY=\"/opt/local/lib/itk3.3\" -DUSE_NON_CONST -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_itcl/work/itcl3.3/generic" -I"./generic" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.9/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.9/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.9/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.9/unix -I/opt/local/include -pipe -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic -arch x86_64 -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/itk_util.c` -o itk_util.o :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclInt.h:2356, :info:build from /opt/local/include/itclInt.h:52, :info:build from ./generic/itk.h:81, :info:build from ./generic/itk_archetype.c:37: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:322: error: expected ')' before '->' token
----error message
sh-3.2# port install itk ---> Computing dependencies for itk ---> Fetching itk ---> Verifying checksum(s) for itk ---> Extracting itk ---> Configuring itk ---> Building itk Error: Target org.macports.build returned: shell command failed (see log for details) Log for itk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/main.log Error: Status 1 encountered during processing.
New description: an error occured during build of itk [[br]] it is version 3.3 and utilizes tcl8.4.X [[br]] however, macport already installed tcl8.5.9 version. [[br]] is this leading to conflict? [[br]] i dont know. [[br]] Thanks! [[br]] ==== first error execution lines in log file ==== {{{ :info:build /usr/bin/gcc-4.2 -pipe -DPACKAGE_NAME=\"itk\" -DPACKAGE_TARNAME=\"itk\" -DPACKAGE_VERSION=\"3.3\" -DPACKAGE_STRING=\"itk\ 3.3\" -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 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DUSE_ITCL_STUBS=1 -DITK_LIBRARY=\"/opt/local/lib/itk3.3\" -DUSE_NON_CONST -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_itcl/work/itcl3.3/generic" -I"./generic" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.9/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.9/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.9/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.9/unix -I/opt/local/include -pipe -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic -arch x86_64 -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/itk_util.c` -o itk_util.o :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclInt.h:2356, :info:build from /opt/local/include/itclInt.h:52, :info:build from ./generic/itk.h:81, :info:build from ./generic/itk_archetype.c:37: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:322: error: expected ')' before '->' token }}} ==== error message ==== {{{ sh-3.2# port install itk ---> Computing dependencies for itk ---> Fetching itk ---> Verifying checksum(s) for itk ---> Extracting itk ---> Configuring itk ---> Building itk Error: Target org.macports.build returned: shell command failed (see log for details) Log for itk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/main.log Error: Status 1 encountered during processing. }}} -- Comment: Please use WikiFormatting so your posts are legible. Note we already have #15154 and #27232 filed for build problems with itk relating to the tcl version number mismatch, though the error message in those tickets looks different from yours. The problem is we have no maintainer for the itk port, so nobody is looking after it. If you can figure out how to fix this problem, please let us know. -- Ticket URL: <https://trac.macports.org/ticket/27449#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS