Opened 17 years ago
Closed 14 years ago
#15154 closed defect (fixed)
port install itk fails to build
Reported by: | dhoelzer@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), markd@… | |
Port: | itk |
Description (last modified by jmpalacios (Juan Manuel Palacios))
I'm trying to install sguil-client, which depends on itk. itk fails to build with the following output:
sh-3.2# port install itk ---> Building itk 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_itk/work/itk3.3" && make all CPPFLAGS=-I/opt/local/include " returned error 2 Command output: /usr/bin/gcc-4.0 -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_TYPE=long\ long -DHAVE_STRUCT_STAT64=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.2/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.2/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.2/generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.2/unix -I/usr/X11/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/itk_cmds.c` -o itk_cmds.o 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, from /opt/local/include/itclInt.h:52, from ./generic/itk.h:81, from ./generic/itk_cmds.c:26: /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: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:326: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:330: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:333: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:337: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:341: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:357: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:360: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:363: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:367: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:370: error: syntax error before '->' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:377: error: syntax error before '->' token ./generic/itk_cmds.c: In function 'Itk_ConfigBodyCmd': ./generic/itk_cmds.c:406: warning: passing argument 2 of 'itclStubsPtr->itcl_EventuallyFree' from incompatible pointer type make: *** [itk_cmds.o] Error 1 Error: Status 1 encountered during processing.
Change History (17)
comment:1 Changed 17 years ago by dhoelzer@…
Cc: | dhoelzer@… added |
---|
comment:2 Changed 17 years ago by jmroot (Joshua Root)
Looks like a version mismatch: 8.4.14 vs 8.5.2.
comment:3 Changed 17 years ago by dhoelzer@…
How would you recommend that I fix this? I took a clean Leopard box, installed XCode, installed MacPorts, updated and then did "port install sguil-client". It arrived at this failed dependency on its own.
Thanks!
comment:4 Changed 17 years ago by jmroot (Joshua Root)
Apparently the unreleased version 3.3.1 of itcl is needed for compatibility with Tcl 8.5. Maybe we could make a tarball from a CVS checkout.
comment:5 Changed 17 years ago by dhoelzer@…
It's been a while.. I thought I'd check back and see if there is a recommended resolution that I can apply now.
Thanks!
comment:6 Changed 17 years ago by markd@…
I see that itk 3.4 from CVS is supposed to work with Tcl 8.5, but I can't make it work for me yet.
comment:7 Changed 17 years ago by markd@…
Tcl 8.5 is breaking a lot of things. I wonder if it is feasible to create a tcl84 port. Anyway, you can install Tcl 8.4 from a local port and the problems go away.
On another note, I created the sguil-client port thinking I'd use it, but I never did. I have unreleased copies of sguil-sensor and sguil-server also. All you can do with the client is to login to another sguil installation. If someone would like to be a maintainer for sguil, I could release the other parts. Or I could anyway, it's just that it is a complex app and more do-it-yourself than most apps so I was reluctant to do it. The other ports may be buggy.
comment:8 Changed 16 years ago by krunk7@…
@dhoelzer
Create a local ports directory per the macports guide (http://guide.macports.org). Download the Portfiles for 8.4.16 tcl and tk from the macports trac (http://trac.macports.org/browser/trunk/dports) and copy the Portfile for itk over to the local ports directory.
sudo port install itk. done.
comment:9 Changed 16 years ago by mf2k (Frank Schima)
I modified my tcl/tk ports to use 8.4.19. The problem with making tcl84 and tk84 ports is that there is some symbolic links that are created, so it wouldn't be feasible to install the standard 8.5 versions at the same time. Also, since a bunch of ports rely on tcl and/or tk, we'd have to branch all of those ports to have tcl/tk84 versions too! Perhaps a tcl_tk_select program could be created to remedy that problem.
comment:10 Changed 16 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|
comment:12 Changed 14 years ago by jmroot (Joshua Root)
Cc: | dhoelzer@… removed |
---|---|
Keywords: | sguil itk port build failure removed |
Port: | itk added |
comment:15 Changed 14 years ago by jmroot (Joshua Root)
Cc: | ryandesign@… markd@… added |
---|
Can this be closed after r77602?
comment:17 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!