[Insight-users] Problem building 2.4.1 on RedHat 8 with gcc 3.2

sergio damas arroyo sergio_damas_arroyo at yahoo.es
Fri Dec 9 07:47:59 EST 2005




Hi Luis!

I'll try to answer your questions my best:

A) Actually, I haven't tried to build VTK so far.
I tried with ITK 1.8.1 (the version distributed 
in your book) and it also crashed.

B) I only updated the GCC compiler to gcc-3.2.7 
because of the software requirements of a package I
use.

C) As far as I know, I only have one GCC compiler
installed (I updated the compiler from a .rpm package 
using the -u option, in order to remove the previous
gcc version)

D-G) I didn't define these environment variables, but
actually I've just defined them and tried again 
(building everything in a different disk partition) 
and I have the same problem


E) CMake version is 2.0.3

F) As I said, I couldn't build neither version 1.8.1. 
nor 2.4.1 


Thank you again , 

  Sergio



Hi Sergio,


Your compiler seems to have a configuration problem.


Some questions:

A) Are you able to build any big project in that
computer ?
    VTK for example ?

B) Have you, by any chance, been updating system
libraries ?
    maybe the GNU tools  ?

C) Do you have other versions of the GCC compiler
installed ?

D) Did you defined the CC and CXX environment
variables ?

E) What version of CMake are you using ?

F) Have you build any other ITK version in that
machine ?
    Can you still rebuild it ?


G) Have you checked your Hard Disk recently ?
    you may have corrupted sectors in the binary
directory...



   Please let us know,


     Thanks


       Luis





> 
> 
> Hello! 
> 
> I am trying to build ITK 2.4.1 on 
> RedHat 8 with gcc 3.2 (I know, a quite old 
> distribution...) Configuration with ccmake 
> seems to be ok, but during building dependencies of 
> ./Code/Common I got a Core-dumped (below is 
> the report info).
> 
> How could I fix it??
> 
> Thank you,
> 
>   Sergio
> 
> /home/sdamas/ITK-binary% make
> ........
> ........
> ........
> /home/sdamas/ITK-binary/Code/Common: building
> default_target
> Building dependencies. cmake.depends...
> Building object file itkBarrier.o...
> Building object file itkBloxItem.o...
> Building object file itkChainCodePath2D.o...
> ...
> Building object file itkNumericTraits.o...
> Building object file
> itkNumericTraitsCovariantVectorPixel.o...
> c++: Error interno: `Violacion de segmento'
> (programa
> cc1plus)
> Por favor envi­e un reporte completo de error.
> Vea <URL:http://bugzilla.redhat.com/bugzilla/> para
> mas instrucciones.
> make[5]: ***
> [itkNumericTraitsCovariantVectorPixel.o]
> Error 1
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_Common] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Code] Error 2
> make: *** [default_target] Error 2
> 
> 
> 
> 		
> ______________________________________________ 
> Renovamos el Correo Yahoo! 
> Nuevos servicios, más seguridad 
> http://correo.yahoo.es
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 



		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es


More information about the Insight-users mailing list