[slicer-users] Error using script to build Slicer36 on Mac

Yundi Shi yundiuu at gmail.com
Tue Jun 22 14:34:38 EDT 2010


I'm trying to build Slicer36 using the tcl script and got into the following
error after "make -j2".  Anyone has a better idea what's going on?  Thanks.

gcc -c -Os -pipe    -DTCL_DBGX= -Wall -Wno-implicit-int -fno-strict-aliasing
-fno-common -I. -I/Users/WENDY/Develop/Slicer3-lib/tcl/tcl/unix/../generic
-I/Users/WENDY/Develop/Slicer3-lib/tcl/tcl/unix -DNO_VALUES_H=1
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1
-DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DHAVE_PTHREAD_ATFORK=1
-DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
-DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
-DTCL_SHLIB_EXT=\".dylib\"   -mdynamic-no-pic
/Users/WENDY/Develop/Slicer3-lib/tcl/tcl/unix/tclAppInit.c
cc1: error: unrecognized command line option "-mdynamic-no-pic"
make: *** [tclAppInit.o] Error 1
make: *** Waiting for unfinished jobs....

child process exited abnormally
1
    while executing
"error $ret"
    (procedure "runcmd" line 23)
    invoked from within
"runcmd make -j 2"
    ("eval" body line 1)
    invoked from within
"eval runcmd $::MAKE"
    invoked from within
"if { [BuildThis $::TCL_TEST_FILE "tcl"] == 1 } {

    if {$isWindows} {
      cd $::Slicer3_LIB
      runcmd $::SVN co http://svn.slicer.org/Slicer3-l..."
    (file "./Scripts/genlib.tcl" line 366)

child process exited abnormally
ERROR: failed to run getbuildtest: sh ./Scripts/genlib.tcl
/Users/WENDY/Develop/Slicer3/../Slicer3-lib -32 --test-type Experimental

-- 
Wendy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://massmail.spl.harvard.edu/pipermail/slicer-users/attachments/20100622/004a1645/attachment.html>


More information about the slicer-users mailing list