<div>Thanks alot. it worked. I build QGIS from source code. </div>
<div>&nbsp;</div>
<div>I don&#39;t know previously why it doesn&#39;t work. it maybe difference between the package installed with sudo apt-get install libgeos-dev whose version is 2.3.3-3 as stated in snaptic package manager and source code of 
geos-2.3.3.</div>
<div>&nbsp;</div>
<div>I am getting the following error in idle 1.2.1 of python 2.5.1</div>
<div>&nbsp;</div>
<div>&gt;&gt;&gt; from PyQt4.QtCore import *<br>&gt;&gt;&gt; from PyQt4.QtGui import *<br>&gt;&gt;&gt; from qgis.core import *<br>Traceback (most recent call last):<br>&nbsp; File &quot;&lt;pyshell#2&gt;&quot;, line 1, in &lt;module&gt;
<br>&nbsp;&nbsp;&nbsp; from qgis.core import *<br>ImportError: No module named qgis.core</div>
<div>&nbsp;</div>
<div>I have tried to define the path as follows, in order to try all possibilities.</div>
<div>&nbsp;</div>
<div>export LD_LIBRARY_PATH=/usr/local/include/qgis:/usr/local/lib/qgis:/usr/local/lib:/usr/local/share/qgis<br>export PYTHONPATH=/usr/local/share/qgis/python</div>
<div>&nbsp;</div>
<div>but nothing changed. the same error in python. module couldn&#39;t find.</div>
<div>&nbsp;</div>
<div>I do not know which path to define. in ccmake I accepted all default paths.</div>
<div>what actually do these paths? is it required&nbsp;to define these paths for each session, I mean when ý closed the terminal, path assignment is disappearing.</div>
<div>&nbsp;</div>
<div>should ý define ld_library_path as the path of source code: /home/vkepoglu/dev/cpp/qgis?</div>
<div>&nbsp;</div>
<div>should I re-build by setting BINDINGS_GLOBAL_INSTALL variable in CMake to TRUE?</div>
<div>&nbsp;</div>
<div>maybe I should define in which path to install qgis, isn&#39;t it?</div>
<div>but do not know how to define</div>
<div>is CMAKE_BUILD_PREFIX (is it the path definition of installing qgis) the equilavent of CMAKE_INSTALL_PREFIX, because in ccmake version 2.4&nbsp;there is no CMAKE_BUILD_PREFIX anymore?<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/20/08, <b class="gmail_sendername">Martin Dobias</b> &lt;<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Jan 20, 2008 4:06 PM, volkan kepoglu &lt;<a href="mailto:vkepoglu@gmail.com">vkepoglu@gmail.com</a>&gt; wrote:
<br>&gt;<br>&gt;<br>&gt; I am trying to build QGIS from source code in Ubuntu 7.10 Gutsy Gibbon, but<br>&gt; I couldn&#39;t. I followed the instructions in the wiki page buildingFromSource.<br>&gt; The following error has occurred. I think it is about GEOS. installed
<br>&gt; version of libgeos-dev is 2.2.3-3.<br><br>I use GEOS 2.2.3 from ubuntu 7.10 with no problems.<br><br><br>&gt;&nbsp;&nbsp;so, I build geos-3.0.0. and pedantic option is off in ccmake by default.<br>&gt; However following error is occurred;
<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; In file included from /usr/local/include/geos.h:27,<br>&gt;<br>&gt;&nbsp;&nbsp;from /home/vkepoglu/dev/cpp/qgis/src/core/qgsgeometry.h:26,<br>&gt;<br>&gt;&nbsp;&nbsp;from /home/vkepoglu/dev/cpp/qgis/python/core/qgsgeometry.sip:21:
<br>&gt;<br>&gt; /usr/local/include/geos/geom.h:145:2: warning: #warning *** DEPRECATED: You<br>&gt; are using deprecated header geom.h. Please, update your sources according to<br>&gt; new layout of GEOS headers and namespaces
<br><br>Actually this is not an error, just a warning...<br><br>Martin<br></blockquote></div><br>