<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 05/28/2012 03:30 AM, Nick Ves wrote:
    <blockquote
cite="mid:CADCcPvuAfHTLotE22FBPBOcUL2iyWSXm6RcyAXi6BuAVu-WDaQ@mail.gmail.com"
      type="cite">While compiling gdal from source is extremly useful
      (and quite rewarding), i wouldnt  recomment downloading the
       pre-compliled package: (first do a make uninstall in the
      directory you "baked" gdal on your own, you might need to sudo it)
      <div>
        <br>
      </div>
      <div>sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable</div>
      <div>sudo apt-get update</div>
      <div>sudo apt-get install gdal</div>
      <div><br>
      </div>
      <div>to check if you have the correct version of gdal install run:</div>
      <div><br>
      </div>
      <div>gdal-config --version</div>
      <div><br>
      </div>
      <div>nick <br>
        <br>
        <div class="gmail_quote">On Sun, May 27, 2012 at 7:56 PM,
          Chaitanya kumar CH <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Alassane,<br>
            <br>
            The only suggestion I can make without going  too deep is to
            run "make clean" before running "make" again.
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                <div class="gmail_quote">On Fri, May 25, 2012 at 9:17
                  PM, Alassane Toure <span dir="ltr"><<a
                      moz-do-not-send="true"
                      href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>></span>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div text="#000000" bgcolor="#FFFFFF">
                      <div>
                        <div> On 05/25/2012 02:56 AM, Chaitanya kumar CH
                          wrote:
                          <blockquote type="cite">Alassane,<br>
                            <br>
                            libtool may have some problem.<br>
                            Replace "./configure" with "./configure
                            --without-libtool"<br>
                            Make sure you have the format drivers you
                            need listed in the configure script's
                            output.<br>
                            <br>
                            <div class="gmail_quote">On Fri, May 25,
                              2012 at 8:48 AM, Alassane Toure <span
                                dir="ltr"><<a moz-do-not-send="true"
                                  href="mailto:atourej@gmail.com"
                                  target="_blank">atourej@gmail.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex"> Roland,<br>
                                I followed the steps as suggested by the
                                link and a couple of errors came up
                                after issuing "make"<br>
                                <br>
                                ....<br>
                                ....<br>
                                       -rpath /usr/local/lib \<br>
                                       -no-undefined \<br>
                                       -version-info 17:1:16<br>
                                libtool: link: unable to infer tagged
                                configuration<br>
                                libtool: link: specify a tag with
                                `--tag'<br>
                                make[1]: *** [<a moz-do-not-send="true"
                                  href="http://libgdal.la"
                                  target="_blank">libgdal.la</a>] Error
                                1<br>
                                make[1]: Leaving directory
                                `/home/alassane/Downloads/gdal-1.9.1'<br>
                                make: *** [check-lib] Error 2<br>
                                <br>
                                <br>
                                <br>
                                Any suggestion to fix this?<br>
                                <br>
                                Again thanks,<br>
                                <br>
                                Alassane
                                <div>
                                  <div><br>
                                    <br>
                                    <br>
                                    On 05/24/2012 02:21 PM, Roland van
                                    Laar wrote:<br>
                                    <blockquote class="gmail_quote"
                                      style="margin:0 0 0
                                      .8ex;border-left:1px #ccc
                                      solid;padding-left:1ex"> On
                                      05/24/2012 09:16 PM, Alassane
                                      Toure wrote:<br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex"> Group,<br>
                                        I need help to install GDAL
                                        1.9.1 on Ubuntu 12.04.  I first
                                        downloaded gdal-1.9.1.tar.gz,
                                        uncompressed it and executed
                                         ./configure.  Where do I go
                                        from here?<br>
                                      </blockquote>
                                      <br>
                                      Have you read: <a
                                        moz-do-not-send="true"
                                        href="http://trac.osgeo.org/gdal/wiki/BuildingOnUnix"
                                        target="_blank">http://trac.osgeo.org/gdal/wiki/BuildingOnUnix</a><br>
                                      It contains the information needed
                                      for building GDAL.<br>
                                      <br>
                                      Roland<br>
                                      <br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex"> <br>
                                        Thanks for your help<br>
_______________________________________________<br>
                                        UbuntuGIS mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:Ubuntu@lists.osgeo.org"
                                          target="_blank">Ubuntu@lists.osgeo.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.osgeo.org/mailman/listinfo/ubuntu"
                                          target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://trac.osgeo.org/ubuntugis/wiki"
                                          target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br>
                                      </blockquote>
                                      <br>
                                    </blockquote>
                                    <br>
_______________________________________________<br>
                                    UbuntuGIS mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:Ubuntu@lists.osgeo.org"
                                      target="_blank">Ubuntu@lists.osgeo.org</a><br>
                                    <a moz-do-not-send="true"
                                      href="http://lists.osgeo.org/mailman/listinfo/ubuntu"
                                      target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
                                    <a moz-do-not-send="true"
                                      href="http://trac.osgeo.org/ubuntugis/wiki"
                                      target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                            <br clear="all">
                            <br>
                            -- <br>
                            Best regards,<br>
                            Chaitanya kumar CH.<br>
                            <br>
                            <a moz-do-not-send="true"
                              href="tel:%2B91-9494447584"
                              value="+919494447584" target="_blank">+91-9494447584</a><br>
                            17.2416N 80.1426E<br>
                          </blockquote>
                          <br>
                        </div>
                      </div>
                      Thanks Chaitanya,<br>
                      I used your suggested command and again, a couple
                      of errors are reported after "make" was issued
                      (see below).  FYI, I had installed gdal-1.8.0 on a
                      32-bit Oneric OS without problem.  I recently
                      moved to 64-bit Precise OS and installation of
                      gdal-1.9.1 appear non-trivial.  Any suggestion to
                      fix this?  Again, Thanks,<br>
                      <br>
                      ...<br>
                      ...<br>
                      /usr/bin/ld:
                      /home/alassane/Downloads/gdal-1.9.1/frmts/o/aigccitt.o:
                      relocation R_X86_64_32S against `.rodata' can not
                      be used when making a shared object; recompile
                      with -fPIC<br>
                      /home/alassane/Downloads/gdal-1.9.1/frmts/o/aigccitt.o:
                      could not read symbols: Bad value<br>
                      collect2: ld returned 1 exit status<br>
                      make[1]: ***
                      [/home/alassane/Downloads/gdal-1.9.1/libgdal.so]
                      Error 1
                      <div><br>
                        make[1]: Leaving directory
                        `/home/alassane/Downloads/gdal-1.9.1'<br>
                        make: *** [check-lib] Error 2<br>
                        <br>
                        <br>
                      </div>
                    </div>
                  </blockquote>
                </div>
                <br>
                <br clear="all">
                <br>
                -- <br>
                Best regards,<br>
                Chaitanya kumar CH.<br>
                <br>
                <a moz-do-not-send="true" href="tel:%2B91-9494447584"
                  value="+919494447584" target="_blank">+91-9494447584</a><br>
                17.2416N 80.1426E<br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            UbuntuGIS mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Ubuntu@lists.osgeo.org">Ubuntu@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/ubuntu"
              target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
            <a moz-do-not-send="true"
              href="http://trac.osgeo.org/ubuntugis/wiki"
              target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    Nick,<br>
    I followed your instructions but the system response was "E: Unable
    to locate package gdal" after issuing the last command "sudo apt-get
    install gdal".  Any thoughts?<br>
    <br>
    Thanks,<br>
    Alassane<br>
  </body>
</html>