[Gate-users] Question in installing gate 6.1

Simon Stute gate.stute at gmail.com
Tue Oct 11 11:19:42 CEST 2011


Hey,

Replace your commands "setenv" the "export" one.
"setenv" is for csh familly, and "export" for bash family.

Cheers,
Simon

On Tue, Oct 11, 2011 at 10:44 AM, 林威佐 <t891t17 at gmail.com> wrote:

> hi gaters
> I was already installing Geant4, root,and CLHEP , but when I wanted to
> install GATE, I have some problem.
> Before I executed the file 'env_gate.sh', I opened it and wrote these
> command in it(using red color mark).
>
> .........
> # 1. that the user has already defined the variable G4INSTALL
> # 2. that there is a configuration script 'env.sh' in the directory
> $G4INSTALL
> # 3. the variable G4VERSION needs to be define: 9.1 or 9.2
> #
> # You will need to make sure that both conditions are met before you can
> use
> this script
> #
> ###########
> set env GATEHOME /usr/bin/src/GATEHOME/gate_v6.1
> set env G4INSTALL /opt/geant4
> set env G4VERSION 9.1
> set env ROOTSYS /usr/share/doc/root-5.2.8.00g
> export G4ANALYSIS_USE_GENERAL=1
> export G4_USE_G4BESTUNIT_FOR_VERBOSE=1
>
> ########### Geant4 configuration stage
> #
> # In the section below, we make sure that we have access to a script
> # 'env.sh' in the directory $G4INSTALL, then launch this script
> ......
>
>
> When I executed  I got the error.
>
> The environment variable G4INSTALL is not defined yet.
> You must define G4INSTALL before you can configure (and compile) GATE.
> Aborting
>
> What should I do?
> _______________________________________________
> 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