Hi,
I compiled QGIS 2.7 successfully on ubuntu 14.10, and then noticed that it had gdal 1.10, so I downloaded the source for gdal 1.11.1 and compiled it. The trouble is that running gdalinfo --version still gives me the 1.10 version.

Can anyone spot my deliberate error?

This is a new system for experimenting with, so I am able to nuke it and start again by reloading ubuntu if need be.
My goal is to fiddle with QGIS dev, python dev, mapserver and postgis.
I'd like GRASS and OTB as well, plus all the "normal" dependencies like gdal, ogr, proj..... (So if someone has a recipe for the correct installation sequence so that all the dependencies work out with their correct versions, please post it on this list.)

Thanks & regards,
Zoltan


*So, to the current status:*

   *#before make install:*
   geograph@gs01:~$ which gdalinfo
   /usr/bin/gdalinfo

   *#after make install:*   (note the different location)
   geograph@gs01:~$ which gdalinfo
   /usr/local/bin/gdalinfo

   *# So howcome?:*
   geograph@gs01:~$ */usr/bin/gdalinfo* --version
   GDAL *1.10.1*, released 2013/08/26
   geograph@gs01:~$
   geograph@gs01:~$ */usr/local/bin/gdalinfo* --version
   GDAL *1.10.1*, released 2013/08/26
   geograph@gs01:~$

*Just before sending this email I did:
*

   which gdalbuildvrt
   /usr/local/bin/gdalbuildvrt
   gdalbuildvrt --version
   ERROR 1: gdalbuildvrt was compiled against GDAL 1.11.1 but current
   library version is 1.10

*I then got into synaptic and removed gdal-bin and python-gdal but _not libgdal-dev and libgdal1h_ (all ver 1.10) as the last one would have removed grass and a bunch of other stuff, including postgre 9.4 and postgis, which I want.


The above is after running sudo make install:*

   geograph@gs01:~/dev/cpp/gdal-1.11.1$ sudo make install
   [sudo] password for geograph:
   (cd port; make)
   make[1]: Entering directory '/home/geograph/dev/cpp/gdal-1.11.1/port'
   make[1]: Nothing to be done for 'default'.
   make[1]: Leaving directory '/home/geograph/dev/cpp/gdal-1.11.1/port'
   (cd gcore; make)
   make[1]: Entering directory '/home/geograph/dev/cpp/gdal-1.11.1/gcore'
   make[1]: Nothing to be done for 'default'.
   make[1]: Leaving directory '/home/geograph/dev/cpp/gdal-1.11.1/gcore'
   (cd alg; make)
   make[1]: Entering directory '/home/geograph/dev/cpp/gdal-1.11.1/alg'

*etc etc etc**(and then the last few lines of the make install follow):*

   libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c
   .libs/ogrtindex /usr/local/bin/ogrtindex
   libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c
   .libs/ogrlineref /usr/local/bin/ogrlineref
   libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c
   .libs/testepsg /usr/local/bin/testepsg
   libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c
   .libs/gdalbuildvrt /usr/local/bin/gdalbuildvrt
/bin/bash /home/geograph/dev/cpp/gdal-1.11.1/libtool --mode=install /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c gdal-config-inst
   /usr/local/bin/gdal-config
   libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c
   gdal-config-inst /usr/local/bin/gdal-config
   make[1]: Leaving directory '/home/geograph/dev/cpp/gdal-1.11.1/apps'
   for f in LICENSE.TXT data/*.* ; do
   /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c -m 0644 $f
   /usr/local/share/gdal ; done
   /bin/bash /home/geograph/dev/cpp/gdal-1.11.1/libtool --mode=finish
   --silent /usr/local/lib
   /home/geograph/dev/cpp/gdal-1.11.1/install-sh -d
   /usr/local/lib/pkgconfig
   /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c -m 0644 gdal.pc
   /usr/local/lib/pkgconfig/gdal.pc
   geograph@gs01:~/dev/cpp/gdal-1.11.1$
   geograph@gs01:~/dev/cpp/gdal-1.11.1$
   geograph@gs01:~/dev/cpp/gdal-1.11.1$ which gdalinfo
   /usr/local/bin/gdalinfo
   geograph@gs01:~/dev/cpp/gdal-1.11.1$ gdalinfo  --version
   GDAL 1.10.1, released 2013/08/26
   geograph@gs01:~/dev/cpp/gdal-1.11.1$




--

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:    +27-86-6115323     www.geograph.co.za
===========================================

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to