[Insight-users] Compiling ITK on Solaris 10 SPARC

Luis Ibanez luis.ibanez at kitware.com
Mon Aug 6 05:41:22 EDT 2007


Hi Andre,

You must set the values of CC ad CXX
in the following way:

     CC =/usr/local/bin/gcc
     CXX=/usr/local/bin/g++


    *before* you run ccmake.


Please destroy your current binary directory
and start from scratch by following the build
instructions given in the ITK Software Guide:

    http://www.itk.org/ItkSoftwareGuide.pdf

Please read the introductory chapters.


     Thanks


        Luis



=====================================
Andre Coutinho Castilla wrote:
> The outputs are:
> 
> # which gcc
> /usr/local/bin/gcc
> # which g++
> /usr/local/bin/g++
> # which ld
> /usr/ucb/ld
> # echo $CC
> 
> # echo $CXX
> 
> Andre
> 
> 
> 
> 
> On Sun, 2007-08-05 at 20:12, Luis Ibanez wrote:
> 
>>Hi Castillabr,
>>
>>Please post to the list the results of the following commands:
>>
>>    which gcc
>>    which g++
>>    which ld
>>    echo $CC
>>    echo $CXX
>>
>>
>>   Thanks
>>
>>
>>      Luis
>>
>>
>>----------------
>>castillabr wrote:
>>
>>>I am trying to compile ITK on a Solaris 10 SPARC machine:
>>>
>>>SunOS blade 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Blade-1000
>>>gcc version 3.3.2
>>>
>>>I've  got the following error:
>>>
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/adler32.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/gzio.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/inftrees.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/uncompr.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/compress.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/infblock.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/infutil.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/zutil.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/crc32.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/infcodes.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/deflate.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/inffast.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/inflate.o
>>>[  0%] Building C object Utilities/itkzlib/CMakeFiles/itkzlib.dir/trees.o
>>>Linking C static library ../../bin/libitkzlib.a
>>>Error running link command: No such file or directory
>>>make[2]: *** [bin/libitkzlib.a] Error 2
>>>make[1]: *** [Utilities/itkzlib/CMakeFiles/itkzlib.dir/all] Error 2
>>>make: *** [all] Error 2
>>>
>>>Please, can anyone help me ?
>>>
>>>Thanks 
>>
>>E-mail classificado pelo Identificador de Spam Inteligente Terra.
>>Para alterar a categoria classificada, visite
>>http://mail.terra.com.br/cgi-bin/imail.cgi?+_u=castilla&_l=1,1186355573.661339.32635.ladigue.hst.terra.com.br,3425,Des15,Des15
>>
>>Esta mensagem foi verificada pelo E-mail Protegido Terra.
>>Scan engine: McAfee VirusScan / Atualizado em 03/08/2007 / Versão: 5.1.00/5090
>>Proteja o seu e-mail Terra: http://mail.terra.com.br/
> 
> 
> 


More information about the Insight-users mailing list