Message: A problem about compiling example N02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None A problem about compiling example N02 

Keywords: compiling, muon capture
Forum: Installation and Configuration
Date: 20 Nov, 2007
From: G.F. Cao <G.F. Cao>

Hi, all
  I use example N02 in Geant4.9.0 to do some test about memory leak related muon capture. 
I copy corrected G4MuonMinusCaptureAtRest.cc and G4MuonMinusCaptureAtRest.hh to N02/src 
and N02/include under G4WORKDIR respectively. Then compile, and the follow 
problem appeares:
Making dependency for file exampleN02.cc ...
Making dependency for file src/G4MuonMinusCaptureAtRest.cc ...
Making dependency for file src/ExN02TrackerSD.cc ...
Making dependency for file src/ExN02TrackerHit.cc ...
Making dependency for file src/ExN02SteppingVerbose.cc ...
Making dependency for file src/ExN02SteppingAction.cc ...
Making dependency for file src/ExN02RunAction.cc ...
Making dependency for file src/ExN02PrimaryGeneratorAction.cc ...
Making dependency for file src/ExN02PhysicsList.cc ...
Making dependency for file src/ExN02MagneticField.cc ...
Making dependency for file src/ExN02EventAction.cc ...
Making dependency for file src/ExN02DetectorMessenger.cc ...
Making dependency for file src/ExN02DetectorConstruction.cc ...
Making dependency for file src/ExN02ChamberParameterisation.cc ...
cp: cannot create regular file `/afs/ihep.ac.cn/bes3/offline/sw/packages/geant4/
4.9.0/slc4_ia32_gcc346/geant4.9.0.p01/include/G4MuonMinusCaptureAtRest.hh': Perm
ission denied
make: *** [/afs/ihep.ac.cn/bes3/offline/sw/packages/geant4/4.9.0/slc4_ia32_gcc34
6/geant4.9.0.p01/include/G4MuonMinusCaptureAtRest.hh] Error 1

   It seems to copy G4MuonMinusCaptureAtRest.hh to $G4INCLUDE, but no right to create file.
 I don't know why to execute this command, is it necessary? In previous version (like geant4.8.1),
 no such problem. And how to avoid this problem in Geant4.9.0? 

  OS-slc4, gcc-3.4.6, clhep1.9.3.1

Thanks a lot

Guofu

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

1 None: Re: A problem about compiling example N02   (niessen@ifh.de - 21 Nov, 2007)
3 None: Re: A problem about compiling example N02   (caogf@ihep.ac.cn - 21 Nov, 2007)
1 Question: Re: A problem about compiling example N02   (Gabriele Cosmo - 22 Nov, 2007)
5 None: Re: A problem about compiling example N02   (caogf@ihep.ac.cn - 22 Nov, 2007)
1 Warning: Re: A problem about compiling example N02   (Gabriele Cosmo - 22 Nov, 2007)
7 None: Re: A problem about compiling example N02   (caogf@ihep.ac.cn - 22 Nov, 2007)
 Add Message Add Message
to: "A problem about compiling example N02"

 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 ]