Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#27449 closed defect (fixed)

itk: tclIntDecls.h:322: error: expected ')' before '->' token

Reported by: csoong@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), andrei.tudor@…, markd@…
Port: itk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (2)

Portfile-itcl-3.4.diff (2.9 KB) - added by markd@… 13 years ago.
Portfile-itk.diff (1.3 KB) - added by markd@… 13 years ago.

Download all attachments as: .zip

Change History (9)

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

Description: modified (diff)
Keywords: itk build problems removed
Summary: cannot install itkitk: tclIntDecls.h:322: error: expected ')' before '->' token

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.

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

Cc: ryandesign@… andrei.tudor@… added

Has duplicate #29036.

Changed 13 years ago by markd@…

Attachment: Portfile-itcl-3.4.diff added

comment:3 Changed 13 years ago by markd@…

I attached portfiles to bump itcl and itk to the latest and use tcl8.5. For the life of me I can't get the download to work on itcl. It uses special characters and I get get it to work. Can someone take a look please?

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

The problem is your change to the master_sites line. Simply don't change it; the existing master_sites are fine.

The port should also have "dist_subdir tcltk" added so the tcl distfile can be shared with the tcl port.

Changed 13 years ago by markd@…

Attachment: Portfile-itk.diff added

comment:5 Changed 13 years ago by markd@…

I thought I tried that. Well, I'm out of time at the moment and have to run. Ryan if you have the time would you mind doing it?

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: markd@… added
Resolution: fixed
Status: newclosed

Sure: r77601

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Note: See TracTickets for help on using tickets.