Message: Re: Location of binmake.gmk (share/Geant4-9.5.1/geant4make/config) & GNUmakefile in examples Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: Location of binmake.gmk (share/Geant4-9.5.1/geant4make/config) & GNUmakefile in examples 

Forum: Installation and Configuration
Re: Question Location of binmake.gmk (share/Geant4-9.5.1/geant4make/config) & GNUmakefile in examples (Mojca Miklavec)
Date: 29 Jul, 2012
From: Ben Morgan <Ben Morgan>

Hi Mojca

On Sat, 28 Jul 2012 12:44:46 GMT, Mojca Miklavec wrote:
> I installed Geant4 9.5.p01 using CMake and ended up with binmake in
> 
>     /opt/local/share/Geant4-9.5.1/geant4make/config/binmake.gmk
> 
> However examples like medical_linac ask for
> 
>     include $(G4INSTALL)/config/binmake.gmk
> 
> Of course I can hardcode location of binmake.gmk in that particular
> example, but it would probably make sense to fix this in a way that
> would make the example work everywhere out-of-the-box.
> 
> I have only set /opt/local as a prefix, I didn't set geant4make part of
> the PATH, so I guess that /share/Geant4-9.5.1/geant4make/config path was
> generated automatically.

To use the GNUmakefile system you need to source the script:

/opt/local/share/Geant4-9.5.1/geant4make/geant4make.gmk

G4INSTALL does not correspond to the installation prefix. There's some discussion of this in Post #1414 on this forum.

Ben

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

1 Ok: Re: Location of binmake.gmk (share/Geant4-9.5.1/geant4make/config) & GNUmakefile in examples   (Mojca Miklavec - 30 Jul, 2012)
 Add Message Add Message
to: "Re: Location of binmake.gmk (share/Geant4-9.5.1/geant4make/config) & GNUmakefile in examples"

 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 ]