[Gate-users] error in installation
David Boersma
david.boersma at igp.uu.se
Wed May 17 15:30:11 CEST 2017
Dear Maryam,
Let's keep this discussion on the mailing list.
Could you please start a fresh new shell (terminal window), perform the
following commands, and then copy-paste the whole session (all commands
and their output) in a mail to the list? Screenshots are also fine, as
long as we can see the whole session from the beginning to the end.
In the following commands, please replace "/path/to/XYZ" each time by
the relevant path. The "/path/to/gate_v8.0" should be the path to the
gate_v8.0 source code directory (which you got hopefully from extracting
the gate_v8.0.tar.gz file). Note that on the last line I ask you to run
"cmake" this time, instead of the usual "ccmake" (it's not a typo).
#########################################
source /path/to/ROOT/bin/thisroot.sh
which root
which root-config
root-config --prefix
root-config --version
source /path/to/Geant4/bin/geant4.sh
which geant4-config
cd /path/to/gate_v8.0
cd ..
mkdir newbuild
cd newbuild
cmake ../gate_v8.0
#########################################
Good luck,
David Boersma
Den 16/05/2017 kl. 22:13, skrev Maryam Fallahpoor:
> Dear David,
> I installed root just according instructions which is in Readme/INSTAL, in root package. There is two ways for installation, I tried both. your recommendation about "source /path/to/ROOT/bin/thisroot.sh" command is in first way. Both ways resulted in root installation correctly, but when I try to configure Gate, the error is that "root not found, install root and make it available in PATH.
> About .bash* files, I'm not so good in linux, but I don't have any file like .bash_profile, and to be honest I don't understand what should I do.
> Sincerely
>
>
>
> Maryam Fallahpoor
> E-mail: maryam.fallahpoor at yahoo.com
>
> --------------------------------------------
> On Mon, 5/15/17, David Boersma <david.boersma at physics.uu.se> wrote:
>
> Subject: Re: [Gate-users] error in installation
> To: "Maryam Fallahpoor" <maryam.fallahpoor at yahoo.com>
> Date: Monday, May 15, 2017, 8:38 AM
>
> Hi!
>
> In the same shell where you are going to run
> cmake (or ccmake) you first
> should run the
> "source /path/to/ROOT/bin/thisroot.sh" command
> (and same
> for geant4.sh). Did you do
> that?
>
> Sourcing the
> thisroot.sh file only configures your current shell (in the
>
> current tab in the current terminal window)
> to use the corresponding
> version of ROOT.
> It does *not* configure that for all other currently
> running, or any future shells that you will
> ever start on your system.
> If the latter is
> what you actually want/expect, and you are sure that
> you will always use the same version of ROOT,
> then you could consider
> adding that command
> to your ".bash_profile" file (some people use
> .bashrc for that, but there is a subtle reason
> why that is less good).
>
> (And please be very very careful when hacking
> your .bash* files: if you
> do it wrong then
> you may inadvertently disable your own login and you
> need help from someone with sysadmin (sudo)
> privileges to fix that.)
>
> HTH,
> David
>
> Den
> 14/05/2017 kl. 22:36, skrev Maryam Fallahpoor:
> > Hi,
> > I'm trying to
> install GATE 8.0. I have installed appropriate versions of
> CLHEP, Root, and Geant4, according to installation guide on
> ubuntu 16.04. But when I try to install GATE, I confront
> with an error which says: please install Root and make it
> available in Path.
> > I define the Root
> path in the screen before configuration, but I don't
> know why it doesn't work? Also, I couldn't install
> binary distribution of Root for ubuntu16.04, because it
> didn't make Cmakelist.text, I had to install source
> distribution of Root.
> > Is there any one
> that can help me?
> > Thanks in advance,
> .
> >
> >
> >
> _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> >
>
>
More information about the Gate-users
mailing list