Problem 1514 - unable to install geant4 in ubuntu 12.10
Summary: unable to install geant4 in ubuntu 12.10
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 9.4
Hardware: PC Linux
: P5 trivial
Assignee: Ben Morgan
URL:
: 1512 (view as problem list)
Depends on:
Blocks:
 
Reported: 2013-08-04 16:42 CEST by Rajesh sangem
Modified: 2018-05-08 14:52 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Rajesh sangem 2013-08-04 16:42:47 CEST
hi.. I
i am unable to install geant4.9.4.p02 in my machine ubuntu 12.10.
I am getting this error. please help me to resolve this problem.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lXt
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lSM
/usr/bin/ld: cannot find -lICE
collect2: error: ld returned 1 exit status
make[2]: *** [/home/rajesh/geant4/geant4.9.4.p02/lib/Linux-g++/libG4GMocren.so] Error 1
Making dependency for file src/gl2ps.cc ...
Making dependency for file src/G4OpenGL2PSAction.cc ...
Compiling G4OpenGL2PSAction.cc ...
Compiling gl2ps.cc ...
Creating shared library /home/rajesh/geant4/geant4.9.4.p02/lib/Linux-g++/libG4gl2ps.so ...
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lXt
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lSM
/usr/bin/ld: cannot find -lICE
collect2: error: ld returned 1 exit status
make[2]: *** [/home/rajesh/geant4/geant4.9.4.p02/lib/Linux-g++/libG4gl2ps.so] Error 1
Making dependency for file src/G4OpenGLXViewer.cc ...
In file included from src/G4OpenGLXViewer.cc:37:0:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLXmWindowHandlingCallbacks.cc ...
Making dependency for file src/G4OpenGLXmVWidgetShell.cc ...
Making dependency for file src/G4OpenGLXmVWidgetObject.cc ...
Making dependency for file src/G4OpenGLXmVWidgetContainer.cc ...
Making dependency for file src/G4OpenGLXmVWidgetComponent.cc ...
Making dependency for file src/G4OpenGLXmViewerMessenger.cc ...
Making dependency for file src/G4OpenGLXmViewer.cc ...
Making dependency for file src/G4OpenGLXmTopLevelShell.cc ...
Making dependency for file src/G4OpenGLXmTextField.cc ...
Making dependency for file src/G4OpenGLXmStyleCallbacks.cc ...
Making dependency for file src/G4OpenGLXmSliderBar.cc ...
Making dependency for file src/G4OpenGLXmSeparator.cc ...
Making dependency for file src/G4OpenGLXmRotationCallbacks.cc ...
Making dependency for file src/G4OpenGLXmRadioButton.cc ...
Making dependency for file src/G4OpenGLXmPushButton.cc ...
Making dependency for file src/G4OpenGLXmPanningCallbacks.cc ...
Making dependency for file src/G4OpenGLXmMainMenubarCallbacks.cc ...
Making dependency for file src/G4OpenGLXmFramedBox.cc ...
Making dependency for file src/G4OpenGLXmFourArrowButtons.cc ...
Making dependency for file src/G4OpenGLXmConvenienceRoutines.cc ...
Making dependency for file src/G4OpenGLXmBox.cc ...
Making dependency for file src/G4OpenGLWin32Viewer.cc ...
Making dependency for file src/G4OpenGLViewerMessenger.cc ...
Making dependency for file src/G4OpenGLViewer.cc ...
Making dependency for file src/G4OpenGLTransform3D.cc ...
Making dependency for file src/G4OpenGLStoredXViewer.cc ...
In file included from include/G4OpenGLStoredXViewer.hh:41:0,
                 from src/G4OpenGLStoredXViewer.cc:37:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLStoredXmViewer.cc ...
Making dependency for file src/G4OpenGLStoredXm.cc ...
Making dependency for file src/G4OpenGLStoredX.cc ...
In file included from include/G4OpenGLStoredXViewer.hh:41:0,
                 from src/G4OpenGLStoredX.cc:42:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLStoredWin32Viewer.cc ...
Making dependency for file src/G4OpenGLStoredWin32.cc ...
Making dependency for file src/G4OpenGLStoredViewer.cc ...
Making dependency for file src/G4OpenGLStoredSceneHandler.cc ...
Making dependency for file src/G4OpenGLStoredQtViewer.cc ...
Making dependency for file src/G4OpenGLStoredQt.cc ...
Making dependency for file src/G4OpenGLSceneHandler.cc ...
Making dependency for file src/G4OpenGLQtViewer.cc ...
Making dependency for file src/G4OpenGLQtMovieDialog.cc ...
Making dependency for file src/G4OpenGLQtExportDialog.cc ...
Making dependency for file src/G4OpenGLImmediateXViewer.cc ...
In file included from include/G4OpenGLImmediateXViewer.hh:41:0,
                 from src/G4OpenGLImmediateXViewer.cc:37:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLImmediateXmViewer.cc ...
Making dependency for file src/G4OpenGLImmediateXm.cc ...
Making dependency for file src/G4OpenGLImmediateX.cc ...
In file included from include/G4OpenGLImmediateXViewer.hh:41:0,
                 from src/G4OpenGLImmediateX.cc:41:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLImmediateWin32Viewer.cc ...
Making dependency for file src/G4OpenGLImmediateWin32.cc ...
Making dependency for file src/G4OpenGLImmediateViewer.cc ...
Making dependency for file src/G4OpenGLImmediateSceneHandler.cc ...
Making dependency for file src/G4OpenGLImmediateQtViewer.cc ...
Making dependency for file src/G4OpenGLImmediateQt.cc ...
Making dependency for file src/G4OpenGLFontBaseStore.cc ...
Making dependency for file src/G4OpenGLBitMapStore.cc ...
Making dependency for file src/G4OpenGLXViewer.cc ...
In file included from src/G4OpenGLXViewer.cc:37:0:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLStoredXViewer.cc ...
In file included from include/G4OpenGLStoredXViewer.hh:41:0,
                 from src/G4OpenGLStoredXViewer.cc:37:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLStoredX.cc ...
In file included from include/G4OpenGLStoredXViewer.hh:41:0,
                 from src/G4OpenGLStoredX.cc:42:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLImmediateXViewer.cc ...
In file included from include/G4OpenGLImmediateXViewer.hh:41:0,
                 from src/G4OpenGLImmediateXViewer.cc:37:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Making dependency for file src/G4OpenGLImmediateX.cc ...
In file included from include/G4OpenGLImmediateXViewer.hh:41:0,
                 from src/G4OpenGLImmediateX.cc:41:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
Compiling G4OpenGLBitMapStore.cc ...
Compiling G4OpenGLFontBaseStore.cc ...
Compiling G4OpenGLImmediateQt.cc ...
Compiling G4OpenGLImmediateQtViewer.cc ...
Compiling G4OpenGLImmediateSceneHandler.cc ...
Compiling G4OpenGLImmediateViewer.cc ...
Compiling G4OpenGLImmediateWin32.cc ...
Compiling G4OpenGLImmediateWin32Viewer.cc ...
Compiling G4OpenGLImmediateX.cc ...
In file included from include/G4OpenGLImmediateXViewer.hh:41:0,
                 from src/G4OpenGLImmediateX.cc:41:
include/G4OpenGLXViewer.hh:43:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
make[2]: *** [/home/rajesh/geant4/geant4.9.4.p02/tmp/Linux-g++/G4OpenGL/G4OpenGLImmediateX.o] Error 1
make[1]: *** [granular] Error 2
Building library management utility liblist ...
/home/rajesh/geant4/geant4.9.4.p02/config/liblist.c: In function ‘main’:
/home/rajesh/geant4/geant4.9.4.p02/config/liblist.c:202:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/home/rajesh/geant4/geant4.9.4.p02/config/liblist.c:264:16: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/home/rajesh/geant4/geant4.9.4.p02/config/liblist.c:327:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/home/rajesh/geant4/geant4.9.4.p02/config/liblist.c:426:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
Libraries installation completed !

############################################################
# It looks like you had errors during Geant4 installation   
# (or interrupted installation)!				  
# Please check log file:				      	  
# /home/rajesh/geant4/geant4.9.4.p02/.config/bin/Linux-g++/g4make.log		  
############################################################
Comment 1 Michael Kelsey 2013-08-05 17:24:02 CEST
This doesn't look like a bug.  Ubuntu was not yet a fully supported platform under the 9.4 release.  Your error messages look as though the Makefile system was not able to find X11 on your installation.
Comment 2 Rajesh sangem 2013-08-06 10:58:48 CEST
(In reply to comment #1)
> This doesn't look like a bug.  Ubuntu was not yet a fully supported platform
> under the 9.4 release.  Your error messages look as though the Makefile system
> was not able to find X11 on your installation.

hi.. sir, so what do I have to do?
Comment 3 Gabriele Cosmo 2013-08-13 15:13:20 CEST
*** Problem 1512 has been marked as a duplicate of this problem. ***
Comment 4 Gabriele Cosmo 2013-08-13 15:15:42 CEST
Ubuntu not supported in 9.4. Please, switch to a more recent version of Geant4.