Re: [gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Etienne Tourigny
>From the instructions at https://launchpad.net/~ubuntugis/+archive/ppa Somehow the instructions are confusing as they contain instructions to use the gwibber-daily ppa, but you should use the ubuntugis ppa sudo add-apt-repository ppa:ubuntugis/ppa sudo apt-get update sudo apt-get install gdal n

Re: [gdal-dev] GDAL with mdb support on Ubuntu 12.04

2012-05-27 Thread Luca Casagrande
Il 27/05/2012 23:13, Even Rouault ha scritto: Selon Luca Casagrande: Hello everybody, I can't find a way to enable support for mdb on my Ubuntu 12.04. Gdal version is 1.9.1, Java is OpenJDK 7 and this is an extract from configure: --with-java=yes --with-mdb=yes --with-jvm-lib=/usr/lib/jvm/java

Re: [gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Chao YUE
Dear Even, Did you use ubuntugis before? I have one question, I followed the instruction to add ppa:gwibber-daily/ppa to my repository. Then I use sudo apt-get update to install the packages. Yet can I install only one package (let's say gdal)? I do a little search online and some people say I c

Re: [gdal-dev] GDAL with mdb support on Ubuntu 12.04

2012-05-27 Thread Even Rouault
Selon Luca Casagrande : > Hello everybody, > I can't find a way to enable support for mdb on my Ubuntu 12.04. > Gdal version is 1.9.1, Java is OpenJDK 7 and this is an extract from > configure: > > --with-java=yes --with-mdb=yes > --with-jvm-lib=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/serv

Re: [gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Even Rouault
Selon Chao YUE : > Thanks Etienne, then I guess I will have the problem of python version? I > guess I will need a virtual python environment (or something) if I need > python 3 for newer versions? No, the page tells that Python 3 is supported since GDAL 1.7, but not that it is required. Python 2

Re: [gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Chao YUE
Thanks Etienne, then I guess I will have the problem of python version? I guess I will need a virtual python environment (or something) if I need python 3 for newer versions? best, Chao 2012/5/27 Etienne Tourigny > Hi chao > > you should install gdal using the ubuntugis (stable or unstable) >

Re: [gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Etienne Tourigny
Hi chao you should install gdal using the ubuntugis (stable or unstable) repository . 1.6.3 is really old, plus you shouldn't install the debian packages on ubuntu. see: https://launchpad.net/~ubuntugis http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries If you really have to build it see: h

[gdal-dev] GDAL with mdb support on Ubuntu 12.04

2012-05-27 Thread Luca Casagrande
Hello everybody, I can't find a way to enable support for mdb on my Ubuntu 12.04. Gdal version is 1.9.1, Java is OpenJDK 7 and this is an extract from configure: --with-java=yes --with-mdb=yes --with-jvm-lib=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/ This is the error: checking

Re: [gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Chao YUE
Finally I managed to install gdal 1.6.3 using a debien package (and I have to install libgdal1-1.6.0 before ). But I read from http://trac.osgeo.org/gdal/wiki/GdalOgrInPython saying that from version 1.7.0, python 3 is needed. thanks et cheers, Chao 2012/5/27 Chao YUE > Dear all, > > I am new

[gdal-dev] __main__.gdal_config_error when trying to install gdal

2012-05-27 Thread Chao YUE
Dear all, I am new to gdal and when I try to install it on my ubuntu computer, I have the following error. It occurs either with pip or with manual python setup.py build. could anyone give me some clue on this problem? thanks in advance. Chao chaoyue@chaoyue-Aspire-4750:~/python/python_lib/build