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

None Re: A problem about compiling example N02 

Keywords: compiling, muon capture
Forum: Installation and Configuration
Re: None A problem about compiling example N02 (G.F. Cao)
Date: 22 Nov, 2007
From: G.F. Cao <G.F. Cao>

>it looks to me there is a bit of confusion here.
>a] It is definitely NOT the case to copy (and duplicate) a class which comes from the kernel
>    of Geant4 and place it inside your example. You're just seeking for problems.
>b] $G4INCLUDE in the -original- Geant4 installation points to the area where the headers
>    may have been optionally installed. This area can be of course read-only if you (or your
>    system manager) installed Geant4 on a centralised area on AFS, and you are NOT supposed
>    to modify it !
>Now, the 'cp' command is certainly not attempted by Geant4 and don't know why it appears
>in the log you are showing.

>If you wish to make any change to files in the kernel of Geant4, I suggest you to install
>Geant4 locally in your home directory and play -at your own risk- directly there...

>Gabriele

   Actually, the error information appears because of executing 'cp' command which can be found 
in the makefile common.gmk (line 132) in Geant4. But in previous release (like 4.8.1), if I want to make 
some changes to files in the kernel of Geant4, just copy them to G4WORKDIR and then modify. 
Certainly, no such error appears. In other words, the 'cp' command was not executed in 4.8.1 though nearly 
the same makefiles were used compared with 4.9.0. I don't know why.

Guofu

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

1 Warning: Re: A problem about compiling example N02   (Gabriele Cosmo - 22 Nov, 2007)
 Add Message Add Message
to: "Re: 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 ]