[gate-users] Error installing Gate on IRIX6 machine
Ananth Ravi
ananth.ravi at sw.ca
Thu Jul 21 18:12:55 CEST 2005
Hi,
Thanks for your prompt response. My gcc version is 3.3.
I think i might have fixed the problem. Instead of BYTE_ORDER,
LITTLE_ENDIAN i replaced it with _BYTE_ORDER and _LITTLE_ENDIAN, and then it
seemed to compile correctly.
However now i am having a linking issue, where my GEANT4, GATE appear to be
linking to the wrong openGL library
My OGLHOME="/home/aravi/opengl" however
when i execute the: ldd GATE command i see that it is linked to the
following libraries which are wrong.
libGLU.so => /usr/lib32/libGLU.so
libGL.so => /usr/lib32/libGL.so
they should be linked to /home/aravi/opengl/lib/libGLU.so , libeGL.so
Is there a way to ensure that GEANT4 compiles using the correct library.
Thanks,
Ananth Ravi
----- Original Message -----
From: "Sebastien JAN" <jan at shfj.cea.fr>
To: "GATE feedback and helpline for Users" <gate-users at lphe1pet1.epfl.ch>
Sent: Thursday, July 21, 2005 6:02 AM
Subject: Re: [gate-users] Error installing Gate on IRIX6 machine
>
> Hi,
>
> What is your gcc version ?
> seb
>
> Ananth Ravi a écrit:
> > Hello Gate users,
> >
> > I have successfully compiled and installed, Geant4.6.2, ROOT, and CLHEP
> > on a cluster that i have just recently recieved access to. However I
> > have not been able to successfully compile Gate since in
> > GateToInterfile.cc file line 255 gives me an error.
> >
> > << "imagedata byte order := " << ( (BYTE_ORDER == LITTLE_ENDIAN) ?
> > "LITTLEENDIAN" : "BIGENDIAN" ) << G4endl
> >
> > Here it appears that the BYTE_ORDER and LITTLE_ENDIAN constants have not
> > been previously declared. Are these global constants that are defined
> > somewhere on most Linux distros (as the cluster is an SGI IRIX6), or is
> > there something I have done incorrectly.
> >
> > Would it be incorrect to just comment out this line. I desperately need
> > it to compile, but also require the interfile output.
> >
> > Thank you,
> > Ananth Ravi
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gate-users mailing list
> > gate-users at lphe1pet1.epfl.ch
> > http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>
>
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list