<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><b>Yes i did this.</b><br><br><i>root@mknap:/opt/simulations/geant4.9.5.p02-build# export PATH=$PATH:/opt/simulations/<a href="http://2.1.1.0/CLHEP/bin">2.1.1.0/CLHEP/bin</a><br>
root@mknap:/opt/simulations/geant4.9.5.p02-build# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/simulations/<a href="http://2.1.1.0/CLHEP/libclear">2.1.1.0/CLHEP/libclear</a><br>root@mknap:/opt/simulations/geant4.9.5.p02-build# ccmake ../geant4.9.5.p02</i><br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><b>and still the same:</b><br><br>        <i>Page 0 of 1<br> CMAKE_USE_RELATIVE_PATHS          ON                                                                         <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 lang="en"><span><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></span></span><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font face="verdana,sans-serif">Pozdrawiam<br>Michał Knap</font></div></div>
<br><br><div class="gmail_quote">2014/1/19 Alejandro Coloma <span dir="ltr"><<a href="mailto:alejandrocolomae@gmail.com" target="_blank">alejandrocolomae@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Michal, did you updated the environmental variables? This is done by typing<br><div class="gmail_quote"><div dir="ltr"><div>
<pre style="line-height:1.1em;background-color:rgb(249,249,249);border:1px dashed rgb(47,111,171);padding:1em">export PATH=$PATH:/PATH_TO/<a href="http://2.1.1.0/CLHEP/bin" target="_blank">2.1.1.0/CLHEP/bin</a>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/PATH_TO/<a href="http://2.1.1.0/CLHEP/lib" target="_blank">2.1.1.0/CLHEP/lib</a></pre></div><div class="gmail_extra"><br>where "PATH_TO" is the path where is the CLHEP directory, in your case I think it is "opt/simulations"</div>



<div class="gmail_extra"><br></div><div class="gmail_extra">best regards</div><div><div class="h5"><div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/19 Pedro Correia <span dir="ltr"><<a href="mailto:pmcorreia@ua.pt" target="_blank">pmcorreia@ua.pt</a>></span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
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" target="_blank">michal.knap@gmail.com</a>> escreveu:
<div><br>
<blockquote type="cite"><div><div>
<div dir="ltr">
<div style="font-family:verdana,sans-serif"><b>Hi,<br>
</b></div>
<div 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 style="font-family:verdana,sans-serif"><span lang="en"><b><span>I do</span>
<span>accordance with this</span> </b><span><b>instructions :<a href="http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP" target="_blank"> http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP</a></b><br>




</span></span></div>
<div style="font-family:verdana,sans-serif"><span 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 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 style="font-family:verdana,sans-serif"><span lang="en"><br>
<b>I </b></span><b><span lang="en"><span>enclose printscreens with paths and errors.</span></span><span lang="en"><span></span></span><span lang="en"><span>
</span></span></b></div>
<b><span lang="en"><span>What is wrong? <br>
I will be very</span> <span>grateful</span> <span>for your help.<br>
</span></span></b></div>
<div style="font-family:verdana,sans-serif"><b><span lang="en">Thanks in advance.<br>
</span></b></div>
<div style="font-family:verdana,sans-serif"><b><span 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>
</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" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
<br>
</div>
</div>

<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div></div></div></div></div>
</div>
</div><br></div>
</blockquote></div><br></div>