<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    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.<br>
    The trouble is that running gdalinfo --version still gives me the
    1.10 version.<br>
    <br>
    Can anyone spot my deliberate error?<br>
    <br>
    This is a new system for experimenting with, so I am able to nuke it
    and start again by reloading ubuntu if need be.<br>
    My goal is to fiddle with QGIS dev, python dev, mapserver and
    postgis.<br>
    I'd like GRASS and  OTB  as well, plus all the "normal" dependencies
    like gdal, ogr, proj.....<br>
    (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.)<br>
    <br>
    Thanks & regards,<br>
    Zoltan<br>
    <br>
    <br>
    <b>So, to the current status:</b><br>
    <blockquote><b>#before make install:</b><br>
      geograph@gs01:~$ which gdalinfo<br>
      /usr/bin/gdalinfo<br>
      <br>
      <b>#after make install:</b>   (note the different location)<br>
      geograph@gs01:~$ which gdalinfo<br>
      /usr/local/bin/gdalinfo<br>
      <br>
      <b># So howcome?:</b><br>
      geograph@gs01:~$ <b>/usr/bin/gdalinfo</b> --version<br>
      GDAL <b>1.10.1</b>, released 2013/08/26<br>
      geograph@gs01:~$ <br>
      geograph@gs01:~$ <b>/usr/local/bin/gdalinfo</b> --version<br>
      GDAL <b>1.10.1</b>, released 2013/08/26<br>
      geograph@gs01:~$ <br>
      <br>
    </blockquote>
    <b>Just before sending this email I did:<br>
    </b>
    <blockquote><font color="#3333ff">which gdalbuildvrt<br>
        /usr/local/bin/gdalbuildvrt<br>
        gdalbuildvrt --version<br>
        ERROR 1: gdalbuildvrt was compiled against GDAL 1.11.1 but
        current library version is 1.10</font><br>
    </blockquote>
    <b>I then got into synaptic and removed gdal-bin and python-gdal but
      <u>not libgdal-dev and libgdal1h</u> (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.<br>
      <br>
      <br>
      The above is after running sudo make install:</b><br>
    <blockquote><font color="#009900"><a class="moz-txt-link-abbreviated" href="mailto:geograph@gs01:~/dev/cpp/gdal-1.11.1$">geograph@gs01:~/dev/cpp/gdal-1.11.1$</a>
        sudo make install<br>
        [sudo] password for geograph: <br>
        (cd port; make)<br>
        make[1]: Entering directory
        '/home/geograph/dev/cpp/gdal-1.11.1/port'<br>
        make[1]: Nothing to be done for 'default'.<br>
        make[1]: Leaving directory
        '/home/geograph/dev/cpp/gdal-1.11.1/port'<br>
        (cd gcore; make)<br>
        make[1]: Entering directory
        '/home/geograph/dev/cpp/gdal-1.11.1/gcore'<br>
        make[1]: Nothing to be done for 'default'.<br>
        make[1]: Leaving directory
        '/home/geograph/dev/cpp/gdal-1.11.1/gcore'<br>
        (cd alg; make)<br>
        make[1]: Entering directory
        '/home/geograph/dev/cpp/gdal-1.11.1/alg'</font><br>
    </blockquote>
    <b>etc etc etc</b><b> (and then the last few lines of the make
      install follow):</b><br>
    <blockquote><font color="#009900">libtool: install:
        /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c .libs/ogrtindex
        /usr/local/bin/ogrtindex<br>
        libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh
        -c .libs/ogrlineref /usr/local/bin/ogrlineref<br>
        libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh
        -c .libs/testepsg /usr/local/bin/testepsg<br>
        libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh
        -c .libs/gdalbuildvrt /usr/local/bin/gdalbuildvrt<br>
        /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<br>
        libtool: install: /home/geograph/dev/cpp/gdal-1.11.1/install-sh
        -c gdal-config-inst /usr/local/bin/gdal-config<br>
        make[1]: Leaving directory
        '/home/geograph/dev/cpp/gdal-1.11.1/apps'<br>
        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<br>
        /bin/bash /home/geograph/dev/cpp/gdal-1.11.1/libtool
        --mode=finish --silent /usr/local/lib<br>
        /home/geograph/dev/cpp/gdal-1.11.1/install-sh -d
        /usr/local/lib/pkgconfig<br>
        /home/geograph/dev/cpp/gdal-1.11.1/install-sh -c -m 0644 gdal.pc
        /usr/local/lib/pkgconfig/gdal.pc<br>
        <a class="moz-txt-link-abbreviated" href="mailto:geograph@gs01:~/dev/cpp/gdal-1.11.1$">geograph@gs01:~/dev/cpp/gdal-1.11.1$</a> <br>
        <a class="moz-txt-link-abbreviated" href="mailto:geograph@gs01:~/dev/cpp/gdal-1.11.1$">geograph@gs01:~/dev/cpp/gdal-1.11.1$</a> <br>
        <a class="moz-txt-link-abbreviated" href="mailto:geograph@gs01:~/dev/cpp/gdal-1.11.1$">geograph@gs01:~/dev/cpp/gdal-1.11.1$</a> which gdalinfo <br>
        /usr/local/bin/gdalinfo<br>
        <a class="moz-txt-link-abbreviated" href="mailto:geograph@gs01:~/dev/cpp/gdal-1.11.1$">geograph@gs01:~/dev/cpp/gdal-1.11.1$</a> gdalinfo  --version<br>
        GDAL 1.10.1, released 2013/08/26<br>
        <a class="moz-txt-link-abbreviated" href="mailto:geograph@gs01:~/dev/cpp/gdal-1.11.1$">geograph@gs01:~/dev/cpp/gdal-1.11.1$</a> <br>
      </font></blockquote>
    <br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 

===========================================
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     <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
  </body>
</html>