[Qgis-developer] Build compile error

volkan kepoglu vkepoglu at gmail.com
Wed Jan 23 08:08:43 EST 2008


>
> I love you, Martin. I solved all my problems, hope so :-)


1. /usr/local/lib path definition does not exist in ld.so.conf directly.
ld.so.conf refers to in /etc/ld.so.conf.d/libc.conf which has that path
definition

ı used following commands

sudo chown vkepoglu /etc/ld.so.conf  -> take permission to edit file. edit
and add path, run
sudo ldconfig

it worked.

2. for PYTHONPATH, edit bashrc and add path

nano /home/vkepoglu/.bashrc -> add the following lines
export PYTHONPATH='usr/local/share/qgis/python' -> save and exit, then from
a prompt, run
source /home/vkepoglu/.bashrc
log off and the result in terminal is

vkepoglu at vkepoglu:~$ python
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/local/share/qgis/python', '/usr/lib/python25.zip',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/var/lib/python-support/python2.5', '/usr/lib/python2.5/site-packages/gtk-
2.0', '/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode']
>>> from qgis.core import *
>>>

Ah, so why don't you use Windows release of QGIS?

Martin

I want to learn Linux, not crappy Windows anymore. I am not using QGIS at
work but sometimes have time to learn something at work. it depends on me.
As ı am also doing phd, trying to make thesis related works. The rules of IT
department forces me to use windows. Here, at work we are using ESRI's
products. I am using ArcGIS Desktop (ArcINFO licensed) from version 8.0 to
9.1, ArcSDE and ArcIMS as GIS user at work.

Thanks for everybody who contributed to do the development of qgis.

Volkan Kepoglu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080123/1c07bc3f/attachment.html


More information about the Qgis-developer mailing list