[Gate-users] Fwd: Geant4.9.5.p02 problem with the installation using cmake

Alejandro Coloma alejandrocolomae at gmail.com
Sun Jan 19 23:55:27 CET 2014


Hi Michal, did you updated the environmental variables? This is done by
typing

export PATH=$PATH:/PATH_TO/2.1.1.0/CLHEP/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/PATH_TO/2.1.1.0/CLHEP/lib


where "PATH_TO" is the path where is the CLHEP directory, in your case I
think it is "opt/simulations"

best regards



2014/1/19 Pedro Correia <pmcorreia at ua.pt>

>  HI Michal
>
>  Try to set CMAKE_USE_RELATIVE_PATHS true
>
>  and only then press c, and tell us what happens.
>
>  Best regards, Pedro
>
>
>  No dia 19/01/2014, às 22:22, Michal Knap <michal.knap at gmail.com>
> escreveu:
>
>
> *Hi, *
>
> *I'm trying to install geant4.9.5.p02 on Ubuntu 12.04. I have install
> CLHEP ald root but have problems with Geant4. *
> *I do accordance with this **instructions :
> http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP
> <http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP>*
>
>
>
>
>
>
> *root at mknap:/# cd opt root at mknap:/opt# cd simulations
> root at mknap:/opt/simulations# ls 2.1.1.0  CMakeFiles  gate_v6.2
> geant4.9.5.p02  geant4.9.5.p02-build  geant4.9.5.p02-install  root
> root at mknap:/opt/simulations# cd geant4.9.5.p02-build/
> root at mknap:/opt/simulations/geant4.9.5.p02-build# ccmake ../geant4.9.5.p02*
>
> * Then i get:*
>
>
>
>
>
>
>
>
>
>
> *Page 0 of 1
>  CMAKE_USE_RELATIVE_PATHS
> CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative paths in
> makefiles and projects.
> Press [enter] to edit
> option
> CMake Version 2.8.7 Press [c] to configure Press [h] for help
> Press [q] to quit without generating Press [t] to toggle advanced mode
> (Currently Off) *
> *i type [c] and get this:*
>
>
>
>
>
>
>
> * CMake Error at CMakeLists.txt:20 (message):    in-source build detected
> Errors occurred during the last
> pass
>
> CMake Version 2.8.7 Press [e] to exit help *
>
> *I **enclose printscreens with paths and errors. *
>
>
> *What is wrong? I will be very grateful for your help. *
>
> *Thanks in advance. *
>
>
> *Pozdrawiam Michał Knap*
>  <Zrzut ekranu z 2014-01-19 230502.png><Zrzut ekranu z 2014-01-19
> 230518.png><Zrzut ekranu z 2014-01-19 230536.png><Zrzut ekranu z
> 2014-01-19 230654.png><Zrzut ekranu z 2014-01-19 230705.png><Zrzut ekranu
> z 2014-01-19 230719.png>_______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140119/6662ca08/attachment.html>


More information about the Gate-users mailing list