Message: Re: trouble with G4OpenGL when rebuilding? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: trouble with G4OpenGL when rebuilding? 

Forum: Installation and Configuration
Re: None trouble with G4OpenGL when rebuilding? (Jeromy Tompkins)
Re: None Re: trouble with G4OpenGL when rebuilding? (Vito Di Benedetto)
Date: 28 Jun, 2008
From: Vito Di Benedetto <Vito Di Benedetto>

Vito wrote:
>  Hi Jeromy,
> maybe you need to install the package
> libX11-devel

you need to install even other package:

mesa-libGLU-devel
xorg-x11-proto-devel
libXt-devel
libXmu-devel

so you can install these packages using the command:

yum install libX11-devel mesa-libGLU-devel xorg-x11-proto-devel 
libXt-devel libXmu-devel

you nned to be root on your system in order to install these packages



> for your Fedora 8 system.
> 
> As root use te command:
> 
> yum install libX11-devel
> 
> and try again to install Geant4
> 
> Vito
> 
> Jeromy Tompkins wrote:
>> *** Discussion title: Installation and Configuration
>>
>> I am using Fedora 8 and built CLHEP and Geant4 once to but found that I
>> was having issues with -lG4RayTracer as another person had in the forum
>> and the advice was to try to rebuild on my computer. I ensured that now
>> shell variables were set and then ran ./Config -build. The following is
>> what I it prints after proceeding smoothly for a bit...
>>
>> gmake[2]: Nothing to be done for `lib'.
>> gmake[2]: Nothing to be done for `lib'.
>> Making dependency for file src/G4RTXScanner.cc ...
>> In file included from src/G4RTXScanner.cc:34:
>> include/G4RTXScanner.hh:45:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4RTXScanner.hh:46:23: error: X11/Xutil.h: No such file or
>> directory
>> src/G4RTXScanner.cc:41:23: error: X11/Xatom.h: No such file or directory
>> Making dependency for file src/G4RayTracerXViewer.cc ...
>> In file included from src/G4RayTracerXViewer.cc:38:
>> include/G4RTXScanner.hh:45:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4RTXScanner.hh:46:23: error: X11/Xutil.h: No such file or
>> directory
>> Compiling G4RayTracerXViewer.cc ...
>> In file included from src/G4RayTracerXViewer.cc:38:
>> include/G4RTXScanner.hh:45:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4RTXScanner.hh:46:23: error: X11/Xutil.h: No such file or
>> directory
>> include/G4RTXScanner.hh:85: error: ISO C++ forbids declaration of
>> ‘Display’ with no type
>> include/G4RTXScanner.hh:85: error: expected ‘;’ before ‘*’ token
>> include/G4RTXScanner.hh:86: error: ‘Window’ does not name a type
>> include/G4RTXScanner.hh:87: error: ‘GC’ does not name a type
>> include/G4RTXScanner.hh:88: error: ISO C++ forbids declaration of
>> ‘XStandardColormap’ with no type
>> include/G4RTXScanner.hh:88: error: expected ‘;’ before ‘*’ token
>> /home/jrtomps/Geant4/CLHEP//include/CLHEP/Units/PhysicalConstants.h:78:
>> warning: ‘CLHEP::electron_charge’ defined but not used
>> gmake[2]: *** [/home/jrtomps/Geant4/geant4.9.1.p02/tmp/Linux-g
>> ++/G4RayTracer/G4RayTracerXViewer.o] Error 1
>> gmake[2]: Nothing to be done for `lib'.
>> gmake[2]: Nothing to be done for `lib'.
>> gmake[2]: Nothing to be done for `lib'.
>> Making dependency for file src/G4OpenGLXViewer.cc ...
>> In file included from include/G4OpenGLSceneHandler.hh:43,
>>                  from include/G4OpenGLXViewer.hh:41,
>>                  from src/G4OpenGLXViewer.cc:37:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> In file included from src/G4OpenGLXViewer.cc:37:
>> include/G4OpenGLXViewer.hh:44:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4OpenGLXViewer.hh:45:27: error: X11/Intrinsic.h: No such file
>> or directory
>> include/G4OpenGLXViewer.hh:46:29: error: X11/Xmu/StdCmap.h: No such file
>> or directory
>> In file included from include/G4OpenGLXViewer.hh:48,
>>                  from src/G4OpenGLXViewer.cc:37:
>> /usr/include/GL/glx.h:26:23: error: X11/Xutil.h: No such file or
>> directory
>> src/G4OpenGLXViewer.cc:49:23: error: X11/Xatom.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:41: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:41: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:41: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:41,
>>                  from src/G4OpenGLStoredXViewer.cc:37:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> In file included from include/G4OpenGLStoredXViewer.hh:42,
>>                  from src/G4OpenGLStoredXViewer.cc:37:
>> include/G4OpenGLXViewer.hh:44:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4OpenGLXViewer.hh:45:27: error: X11/Intrinsic.h: No such file
>> or directory
>> include/G4OpenGLXViewer.hh:46:29: error: X11/Xmu/StdCmap.h: No such file
>> or directory
>> In file included from include/G4OpenGLXViewer.hh:48,
>>                  from include/G4OpenGLStoredXViewer.hh:42,
>>                  from src/G4OpenGLStoredXViewer.cc:37:
>> /usr/include/GL/glx.h:26:23: error: X11/Xutil.h: No such file or
>> directory
>> Making dependency for file src/G4OpenGLStoredX.cc ...
>> In file included from include/G4OpenGLSceneHandler.hh:43,
>>                  from src/G4OpenGLStoredX.cc:39:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> In file included from include/G4OpenGLStoredXViewer.hh:42,
>>                  from src/G4OpenGLStoredX.cc:42:
>> include/G4OpenGLXViewer.hh:44:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4OpenGLXViewer.hh:45:27: error: X11/Intrinsic.h: No such file
>> or directory
>> include/G4OpenGLXViewer.hh:46:29: error: X11/Xmu/StdCmap.h: No such file
>> or directory
>> In file included from include/G4OpenGLXViewer.hh:48,
>>                  from include/G4OpenGLStoredXViewer.hh:42,
>>                  from src/G4OpenGLStoredX.cc:42:
>> /usr/include/GL/glx.h:26:23: error: X11/Xutil.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:41:20: error: GL/glu.h: No such file or directory
>> Making dependency for file src/G4OpenGLStoredSceneHandler.cc ...
>> In file included from include/G4OpenGLViewer.hh:40,
>>                  from include/G4OpenGLStoredSceneHandler.hh:40,
>>                  from src/G4OpenGLStoredSceneHandler.cc:44:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> Making dependency for file src/G4OpenGLSceneHandler.cc ...
>> In file included from include/G4OpenGLSceneHandler.hh:43,
>>                  from src/G4OpenGLSceneHandler.cc:46:
>> include/G4OpenGL.hh:41: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:42,
>>                  from include/G4OpenGLImmediateXViewer.hh:41,
>>                  from src/G4OpenGLImmediateXViewer.cc:37:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> In file included from include/G4OpenGLImmediateXViewer.hh:42,
>>                  from src/G4OpenGLImmediateXViewer.cc:37:
>> include/G4OpenGLXViewer.hh:44:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4OpenGLXViewer.hh:45:27: error: X11/Intrinsic.h: No such file
>> or directory
>> include/G4OpenGLXViewer.hh:46:29: error: X11/Xmu/StdCmap.h: No such file
>> or directory
>> In file included from include/G4OpenGLXViewer.hh:48,
>>                  from include/G4OpenGLImmediateXViewer.hh:42,
>>                  from src/G4OpenGLImmediateXViewer.cc:37:
>> /usr/include/GL/glx.h:26:23: error: X11/Xutil.h: No such file or
>> directory
>> Making dependency for file src/G4OpenGLImmediateX.cc ...
>> In file included from include/G4OpenGLSceneHandler.hh:43,
>>                  from src/G4OpenGLImmediateX.cc:38:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> In file included from include/G4OpenGLImmediateXViewer.hh:42,
>>                  from src/G4OpenGLImmediateX.cc:41:
>> include/G4OpenGLXViewer.hh:44:22: error: X11/Xlib.h: No such file or
>> directory
>> include/G4OpenGLXViewer.hh:45:27: error: X11/Intrinsic.h: No such file
>> or directory
>> include/G4OpenGLXViewer.hh:46:29: error: X11/Xmu/StdCmap.h: No such file
>> or directory
>> In file included from include/G4OpenGLXViewer.hh:48,
>>                  from include/G4OpenGLImmediateXViewer.hh:42,
>>                  from src/G4OpenGLImmediateX.cc:41:
>> /usr/include/GL/glx.h:26:23: error: X11/Xutil.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:42,
>>                  from src/G4OpenGLImmediateViewer.cc:38:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> Making dependency for file src/G4OpenGLImmediateSceneHandler.cc ...
>> In file included from include/G4OpenGLViewer.hh:40,
>>                  from include/G4OpenGLImmediateSceneHandler.hh:40,
>>                  from src/G4OpenGLImmediateSceneHandler.cc:45:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> Making dependency for file src/G4OpenGLBitMapStore.cc ...
>> In file included from include/G4OpenGLBitMapStore.hh:48,
>>                  from src/G4OpenGLBitMapStore.cc:35:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> Compiling G4OpenGLBitMapStore.cc ...
>> In file included from include/G4OpenGLBitMapStore.hh:48,
>>                  from src/G4OpenGLBitMapStore.cc:35:
>> include/G4OpenGL.hh:41:20: error: GL/glu.h: No such file or directory
>> gmake[2]: *** [/home/jrtomps/Geant4/geant4.9.1.p02/tmp/Linux-g
>> ++/G4OpenGL/G4OpenGLBitMapStore.o] Error 1
>> gmake[1]: *** [granular] Error 2
>> Libmap stage. Searching for GNUmakefiles and sorting ...
>> Weeding out paths and files ...
>> Making libname.map starter file ...
>> Making libname.map ...
>>   Reading library name map file...
>>   Reading dependency files...
>>   Checking for circular dependencies...
>>   Reordering according to dependencies...
>>   Writing new library map file...
>> Libraries installation completed !
>>
>> Does anyone have any ideas?
>>
>> -------------------------------------------------------------
>> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or 
>> unsubscribe) at: 
>> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1136.html 
>>
> 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: trouble with G4OpenGL when rebuilding?   (Jeromy Tompkins - 30 Jun, 2008)
1 None: Re: trouble with G4OpenGL when rebuilding?   (Vito - 30 Jun, 2008)
2 None: Re: trouble with G4OpenGL when rebuilding?   (Jeromy Tompkins - 30 Jun, 2008)
 Add Message Add Message
to: "Re: trouble with G4OpenGL when rebuilding?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]