<div>Thanks alot. it worked. I build QGIS from source code. </div>
<div> </div>
<div>I don't know previously why it doesn'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> </div>
<div>I am getting the following error in idle 1.2.1 of python 2.5.1</div>
<div> </div>
<div>>>> from PyQt4.QtCore import *<br>>>> from PyQt4.QtGui import *<br>>>> from qgis.core import *<br>Traceback (most recent call last):<br> File "<pyshell#2>", line 1, in <module>
<br> from qgis.core import *<br>ImportError: No module named qgis.core</div>
<div> </div>
<div>I have tried to define the path as follows, in order to try all possibilities.</div>
<div> </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> </div>
<div>but nothing changed. the same error in python. module couldn't find.</div>
<div> </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 to define these paths for each session, I mean when ý closed the terminal, path assignment is disappearing.</div>
<div> </div>
<div>should ý define ld_library_path as the path of source code: /home/vkepoglu/dev/cpp/qgis?</div>
<div> </div>
<div>should I re-build by setting BINDINGS_GLOBAL_INSTALL variable in CMake to TRUE?</div>
<div> </div>
<div>maybe I should define in which path to install qgis, isn'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 there is no CMAKE_BUILD_PREFIX anymore?<br><br> </div>
<div><span class="gmail_quote">On 1/20/08, <b class="gmail_sendername">Martin Dobias</b> <<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>> 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 <<a href="mailto:vkepoglu@gmail.com">vkepoglu@gmail.com</a>> wrote:
<br>><br>><br>> I am trying to build QGIS from source code in Ubuntu 7.10 Gutsy Gibbon, but<br>> I couldn't. I followed the instructions in the wiki page buildingFromSource.<br>> The following error has occurred. I think it is about GEOS. installed
<br>> 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>> so, I build geos-3.0.0. and pedantic option is off in ccmake by default.<br>> However following error is occurred;
<br>><br>><br>><br>><br>> In file included from /usr/local/include/geos.h:27,<br>><br>> from /home/vkepoglu/dev/cpp/qgis/src/core/qgsgeometry.h:26,<br>><br>> from /home/vkepoglu/dev/cpp/qgis/python/core/qgsgeometry.sip:21:
<br>><br>> /usr/local/include/geos/geom.h:145:2: warning: #warning *** DEPRECATED: You<br>> are using deprecated header geom.h. Please, update your sources according to<br>> 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>