Problem installing itk

Agnes Masson-Sibut agnes.massonsibut at gmail.com
Tue Apr 13 02:30:37 PDT 2010


Hello everybody,

I'm trying to install itk on my mac (I am using OS X 10.5.8), and I get the
following error :

--->  Building itk
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"
&& /usr/bin/make -j1 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.8/generic
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.8/unix
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/generic
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix
-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
-arch i386 -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

Is anyone able to help me ?

Thanks a lot,

Agnès

-- 
Agnès Masson-Sibut
Étudiante au doctorat
Lissi, Université Paris Est Créteil
Aesculap SAS, Dpt R&D Software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100413/eee7287b/attachment.html>


More information about the macports-users mailing list