Message: Re: Problems with installing geant (please ignore the previous message) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problems with installing geant (please ignore the previous message) 

Forum: Installation and Configuration
Re: None Problems with installing geant (please ignore the previous message) (Reuven Stahl)
Date: 10 Jun, 2014
From: Ben Morgan <Ben Morgan>

On Mon, 09 Jun 2014 16:46:23 GMT, reuven stahl wrote:
> Hi all
> i'm trying to install geant on my Ubuntu system
> when i get to the  $ make install part i get this error :
> make install
> [  3%] Built target G4clhep
> [  5%] Built target G4global
> [  6%] Built target G4intercoms
> [  6%] Built target G4zlib
> [  7%] Built target G4analysis
> [  8%] Built target G4materials
> [  9%] Built target G4graphics_reps
> [ 18%] Built target G4geometry
> [ 24%] Built target G4particles
> [ 24%] Built target G4track
> [ 27%] Built target G4digits_hits
> [ 27%] Built target G4expat
> [ 82%] Built target G4processes
> [ 83%] Built target G4tracking
> [ 84%] Built target G4event
> [ 85%] Built target G4run
> [ 86%] Built target G4error_propagation
> [ 86%] Built target G4interfaces
> [ 87%] Built target G4parmodels
> [ 90%] Built target G4persistency
> [ 94%] Built target G4physicslists
> [ 94%] Built target G4readout
> [ 95%] Built target G4modeling
> [ 96%] Built target G4vis_management
> [ 96%] Built target G4FR
> [ 97%] Built target G4visHepRep
> [ 98%] Built target G4RayTracer
> [ 98%] Built target G4Tree
> [ 98%] Built target G4VRML
> [100%] Built target G4visXXX
> [100%] Built target G4GMocren
> Install the project...
> -- Install configuration: "Release"
> -- Installing:
> /path/to/geant4.10.0-install/share/Geant4-10.0.1/geant4make/geant4make.sh
> CMake Error at cmake_install.cmake:36 (FILE):
>   file INSTALL cannot copy file
>   "/home/reuven/geant/geant4.10.0-build/InstallTreeFiles/geant4make.sh" to
> 
> "/path/to/geant4.10.0-install/share/Geant4-10.0.1/geant4make/geant4make.sh".
> 
> make: *** [install] Error 1
> 
> i'm pretty new to Geant i don't know what to do from here in order to get
> geant installed
> 
> important to add, geant was installed before on my computer (with some
> errors that i could not resolve because it was deleted (with all the
> folders that contained it) by accident
> 
> thanks Alot to any helpers :)
> Reuven
> 
>  [ MIME part of type text/html without a name stripped ]

If you really set CMAKE_INSTALL_PREFIX to /path/to, then the failure is most likely due to lack of write permissions. As noted in the install guide "/path/to" is used for illustration only. You should change CMAKE_INSTALL_PREFIX to somewhere you have write permissions. Based on your build directory, I'd recommend setting CMAKE_INSTALL_PREFIX to /home/reuven/geant/geant4.10.0-install.

Cheers,

Ben.

 Add Message Add Message
to: "Re: Problems with installing geant (please ignore the previous message)"

 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 ]