<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
HI Michal
<div><br>
</div>
<div>Try to set CMAKE_USE_RELATIVE_PATHS true </div>
<div><br>
</div>
<div>and only then press c, and tell us what happens.</div>
<div><br>
</div>
<div>Best regards, Pedro</div>
<div><br>
</div>
<div><br>
</div>
<div>No dia 19/01/2014, às 22:22, Michal Knap <<a href="mailto:michal.knap@gmail.com">michal.knap@gmail.com</a>> escreveu:
<div><br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif"><b>Hi,<br>
</b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><b>I'm trying to install geant4.9.5.p02 on Ubuntu 12.04. I have install CLHEP ald root but have problems with Geant4.
<br>
</b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><b><span class="">I do</span>
<span class="">accordance with this</span> </b><span class=""><b>instructions :<a href="http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP"> http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP</a></b><br>
</span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><br>
<i>root@mknap:/# cd opt<br>
root@mknap:/opt# cd simulations<br>
root@mknap:/opt/simulations# ls<br>
<b>2.1.1.0  CMakeFiles  gate_v6.2  geant4.9.5.p02  geant4.9.5.p02-build  geant4.9.5.p02-install  root</b><br>
root@mknap:/opt/simulations# cd geant4.9.5.p02-build/<br>
root@mknap:/opt/simulations/geant4.9.5.p02-build# ccmake ../geant4.9.5.p02</i><br>
<b><br>
Then i get:</b><br>
<br>
</span>                                                     <i>Page 0 of 1<br>
 CMAKE_USE_RELATIVE_PATHS                                                                                  
<br>
<br>
<br>
CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative paths in makefiles and projects.                                                  
<br>
Press [enter] to edit option                                                                                               CMake Version 2.8.7<br>
Press [c] to configure<br>
Press [h] for help           Press [q] to quit without generating<br>
Press [t] to toggle advanced mode (Currently Off)<br>
</i><br>
<b>i type [c] and get this:</b><br>
<i><br>
</i><span id="result_box" class="" lang="en"><i> CMake Error at CMakeLists.txt:20 (message):<br>
   in-source build detected<br>
<br>
Errors occurred during the last pass                                                                                                         
<br>
                                                                                                                           CMake Version 2.8.7<br>
Press [e] to exit help<br>
</i><br>
</span>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span id="result_box" class="" lang="en"><br>
<b>I </b></span><b><span id="result_box" class="" lang="en"><span class="">enclose printscreens with paths and errors.</span></span><span id="result_box" class="" lang="en"><span class=""></span></span><span id="result_box" class="" lang="en"><span class="">
</span></span></b></div>
<b><span id="result_box" class="" lang="en"><span class="">What is wrong? <br>
I will be very</span> <span class="">grateful</span> <span class="">for your help.<br>
</span></span></b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><b><span id="result_box" class="" lang="en">Thanks in advance.<br>
</span></b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><b><span id="result_box" class="" lang="en"><br>
</span></b></div>
<div>
<div dir="ltr"><b><font face="verdana,sans-serif">Pozdrawiam<br>
Michał Knap</font></b></div>
</div>
</div>
<span><Zrzut ekranu z 2014-01-19 230502.png></span><span><Zrzut ekranu z 2014-01-19 230518.png></span><span><Zrzut ekranu z 2014-01-19 230536.png></span><span><Zrzut ekranu z 2014-01-19 230654.png></span><span><Zrzut ekranu z 2014-01-19 230705.png></span><span><Zrzut
 ekranu z 2014-01-19 230719.png></span>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</blockquote>
</div>
<br>
</div>
</body>
</html>