Message: Re: CMAKE errors during GEANT4 configuration Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: CMAKE errors during GEANT4 configuration 

Forum: Installation and Configuration
Re: Question CMAKE errors during GEANT4 configuration (Maura E.M.)
Re: None Re: CMAKE errors during GEANT4 configuration (Ben Morgan)
Re: Question Re: CMAKE errors during GEANT4 configuration (Maura E.M.)
Date: 10 Mar, 2016
From: Ben Morgan <Ben Morgan>

On Thu, 10 Mar 2016 00:19:31 GMT, Maura E.M. wrote:
> Thank you. I reinstalled CMAKE which created the executable in
> /usr/local/bin. Then I cleaned GEANT4 build directory and retried the
> configuration. This time I got some other errors that I am copying in
> the following. Shall I trust such a configuration and move on with
> GEANT4 installation ? Thank you so much. Best regards, Maura
> 
> mauede$ cmake -DGEANT4_INSTALL_DATA=ON
> -DCMAKE_INSTALL_PREFIX=/Users/mauede/geant4.10.02.p01-install
> /Users/mauede/geant4.10.02.p01 -- The C compiler identification is
> ...
> -- Configuring done
> CMake Error at cmake/Modules/Geant4MacroLibraryTargets.cmake:109 (add_library):
>   Cannot find source file:
> 
>     /Users/mauede/geant4.10.02.p01/source/physics_lists/constructors/electromagnetic/include/G4EmDNAPhysics_option1.hh

Is the file it identifies as missing present at the above location, or is there any other file with similar name in the same directory? If the file is present, is it readable?

I would recommend deleting both the Geant4 source and build directories and downloading a fresh copy of the Geant4 10.2.1 tarball. You can confirm that the download of that tarball is good by running:

$ sha1sum -a 256 geant4.10.02.p01.tar.gz

A valid tarball of the sources will output

b81f7082a15f6a34b720b6f15c6289cfe4ddbbbdcef0dc52719f71fac95f7f1c  geant4.10.02.p01.tar.gz

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

1 Question: Re: CMAKE errors during GEANT4 configuration   (Maura E.M. - 10 Mar, 2016)
 Add Message Add Message
to: "Re: CMAKE errors during GEANT4 configuration"

 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 ]