Problem 1575

Summary: can not find -1GLU; GL/glu.h: no such files or directory;
Product: Geant4 Reporter: yanbo chen <chenyanbo_1>
Component: configAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P5    
Version: 9.4   
Hardware: All   
OS: Linux   

Description yanbo chen 2014-02-25 08:57:36 CET
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4FR.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4FR.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4visHepRep.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4visHepRep.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4RayTracer.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4RayTracer.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4VRML.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4VRML.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4Tree.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4Tree.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4visXXX.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4visXXX.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4GMocren.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4GMocren.so] Error 1
Creating shared library /home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4gl2ps.so ...
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/lib/Linux-g++/libG4gl2ps.so] Error 1
Making dependency for file src/G4OpenGLXViewer.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from include/G4OpenGLXViewer.hh:40,
                 from src/G4OpenGLXViewer.cc:37:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
src/G4OpenGLXViewer.cc:56:29: error: X11/Xmu/StdCmap.h: No such file or directory
Making dependency for file src/G4OpenGLViewerMessenger.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from src/G4OpenGLViewerMessenger.cc:34:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLViewer.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from src/G4OpenGLViewer.cc:37:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLTransform3D.cc ...
In file included from include/G4OpenGLTransform3D.hh:42,
                 from src/G4OpenGLTransform3D.cc:37:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLStoredXViewer.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from include/G4OpenGLStoredViewer.hh:42,
                 from include/G4OpenGLStoredXViewer.hh:40,
                 from src/G4OpenGLStoredXViewer.cc:37:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLStoredX.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from include/G4OpenGLSceneHandler.hh:43,
                 from src/G4OpenGLStoredX.cc:39:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLStoredViewer.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from include/G4OpenGLStoredViewer.hh:42,
                 from src/G4OpenGLStoredViewer.cc:38:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLStoredSceneHandler.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from include/G4OpenGLSceneHandler.hh:43,
                 from include/G4OpenGLStoredSceneHandler.hh:40,
                 from src/G4OpenGLStoredSceneHandler.cc:44:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLSceneHandler.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from include/G4OpenGLSceneHandler.hh:43,
                 from src/G4OpenGLSceneHandler.cc:46:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLImmediateXViewer.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from include/G4OpenGLImmediateViewer.hh:41,
                 from include/G4OpenGLImmediateXViewer.hh:40,
                 from src/G4OpenGLImmediateXViewer.cc:37:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLImmediateX.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from include/G4OpenGLSceneHandler.hh:43,
                 from src/G4OpenGLImmediateX.cc:38:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLImmediateViewer.cc ...
In file included from include/G4OpenGLViewer.hh:40,
                 from include/G4OpenGLImmediateViewer.hh:41,
                 from src/G4OpenGLImmediateViewer.cc:38:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLImmediateSceneHandler.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from include/G4OpenGLSceneHandler.hh:43,
                 from include/G4OpenGLImmediateSceneHandler.hh:39,
                 from src/G4OpenGLImmediateSceneHandler.cc:45:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Making dependency for file src/G4OpenGLBitMapStore.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from src/G4OpenGLBitMapStore.cc:35:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
Compiling G4OpenGLBitMapStore.cc ...
In file included from include/G4OpenGLBitMapStore.hh:50,
                 from src/G4OpenGLBitMapStore.cc:35:
include/G4OpenGL.hh:43:20: error: GL/glu.h: No such file or directory
gmake[2]: *** [/home/edamgr/geant4/eda/geant4.9.4/tmp/Linux-g++/G4OpenGL/G4OpenGLBitMapStore.o] Error 1
gmake[1]: *** [granular] Error 2
Comment 1 Gabriele Cosmo 2014-02-25 09:06:41 CET
Please, verify installation of OpenGL in your system. The error indicates that the GLU extension library is not found in your system.
It is also suggested to upgrade your version of Geant4. Release 9.4 may no longer build to install properly on modern systems...
Comment 2 yanbo chen 2014-02-25 11:49:12 CET
thank you very much,i will try to install OpenGL.
my computer's OS is CentOS,kernel is Linux 2.6.18,can you tell me which OpenGL releases should i install?
(In reply to comment #1)
> Please, verify installation of OpenGL in your system. The error indicates that
> the GLU extension library is not found in your system.
> It is also suggested to upgrade your version of Geant4. Release 9.4 may no
> longer build to install properly on modern systems...