[Gate-users] /usr/X11R6/lib64 doesn't exist
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Wed Dec 7 16:01:31 CET 2011
On Tue, Dec 6, 2011 at 20:27, Didier Benoit <benoit at imnc.in2p3.fr> wrote:
> Hi Mojca,
>
> For me GATE works on Lion but I have added this following lines in the
> environment file 'env_gate.sh':
>
> export G4VIS_USE_OPENGLX=1
> export OGLHOME=/usr/X11R6
> export OGLLIBS=“-lGLU -lGL
I tried to install root and geant4 (more or less successfully) with
MacPorts. I'm not sure if it is now a problem of geant4 or a problem
of Gate that I cannot install anything.
Did you compile Gate with clang(++) or with llvm-gcc/g++? I seems to
be unable to compile Gate with llvm-gcc/g++ or with the old gcc/g++.
It seems that clang is being used. Or at least ld comes from clang.
The latest problem that I have (among many others that I somehow got
rid of) is the following:
make[1]: Nothing to be done for `obj'.
source/physics finished
Using granular libraries ...
Linking Gate
clang: warning: argument unused during compilation: '-ansi'
clang: warning: argument unused during compilation: '-pthread'
ld: warning: directory not found for option '-LOOTSYS/lib'
Undefined symbols for architecture x86_64:
"G4HadFinalState::Clear()", referenced from:
G4ElectroNuclearReaction::ApplyYourself(G4HadProjectile const&,
G4Nucleus&) in Gate.o
"G4Proton::Proton()", referenced from:
G4ElectroNuclearReaction::ApplyYourself(G4HadProjectile const&,
G4Nucleus&) in Gate.o
G4QGSModel<G4GammaParticipants>::Init(G4Nucleus const&,
G4DynamicParticle const&) in Gate.o
"G4Neutron::Neutron()", referenced from:
G4ElectroNuclearReaction::ApplyYourself(G4HadProjectile const&,
G4Nucleus&) in Gate.o
"G4Electron::Electron()", referenced from:
G4ElectroNuclearReaction::ApplyYourself(G4HadProjectile const&,
G4Nucleus&) in Gate.o
-ansi and -pthread are probably harmless, but I'm not able to find
where -LOOTSYS/lib comes from. It must be some wrongly expanded
$ROOTSYS. And I have absolutely no idea what goes wrong with missing
functions.
I can report more problems later, but on the other hand I don't know
to what extent you made progress towards new release (maybe some
problems that are present in current version of Gate are not a problem
in SVN version).
Mojca
More information about the Gate-users
mailing list