Message: Re: unmet dependencies Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: unmet dependencies 

Forum: Installation and Configuration
Re: Question unmet dependencies (Yoshihiro Shimbara)
Re: Warning Re: unmet dependencies (Ben Morgan)
Re: Ok Re: unmet dependencies (Yoshihiro Shimbara)
Date: 16 May, 2013
From: Leonardo Ghizoni <Leonardo Ghizoni>

Hi Yoshihiro,

As said, the best way to run Geant4 is to build from source. I'll try to describe a recipe here...sorry if it's not complete.

1) First of all, in Ubuntu you have to install some dependencies:

->$sudo apt-get install expat* libxerces2-java libxerces-c2-dev libxerces-c3.1 qt-sdk gcc cmake freeglut3 freeglut3-dev binutils-gold x11-common x11-utils xorg xorg-dev

That will take a while too complete.

2) Download the Geant4 code from http://geant4.cern.ch/ and extract it.

3) Rename the folder as 'geant4.9.6', and then create another directory named 'geant4.9.6-build';

4) On the 'geant4.9.6-build' directory run cmake, as follows:

->$cmake -DCMAKE_INSTALL_PREFIX=/path_to/geant4.9.6-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_OPENGL_X11=ON /path_to/geant4.9.6

where 'path_to' is your path to the geant4.9.6 directory. I already included some options on the cmake command, so you don't have to download some additional data. If everything went ok, you'll get the following message at the end:

-- Configuring done -- Generating done -- Build files have been written to: /path_to/geant4.9.6-build

5) Run 'make' and then 'make install'

6) That's all. For you to run Geant4 examples and any anything else, you just have to go to '/path_to/geant4.9.6-install/bin' and run

->$. geant4.sh

so data will be available to you.

Hope it helps.

Best Regards.

Leonardo.

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

1 Ok: Re: unmet dependencies   (Yoshihiro Shimbara - 09 Jun, 2013)
 Add Message Add Message
to: "Re: unmet dependencies"

 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 ]