[gdal-dev] installing debian GDAL version >= 1.9

Tom Roche Tom_Roche at pobox.com
Fri Jul 13 16:06:19 PDT 2012


Tom Roche Thu, Jul 12, 2012 at 9:41 AM
>> how to fix the /usr/local/lib/python2.x/dist-packages/osgeo fails?

Kludging a makefile (see

https://alioth.debian.org/tracker/index.php?func=detail&aid=313720&group_id=30241&atid=410558

) "fixes" that problem ... but exposes another problem with building
python bindings (perl and ruby SWIG build without problems): see

https://alioth.debian.org/tracker/index.php?func=detail&aid=313721&group_id=30241&atid=410558

Even Rouault Thu, 12 Jul 2012 17:19:58 +0200
> You could download the stock GDAL source code and compile it.

Isn't that what dget'ing the .dsc (debian source control file) does?

http://wiki.debian.org/dsc

I'm assuming the source distro would come with the same makefiles and
build scripts--am I missing something?

> If you want to build the python bindings

All I really want is gdalwarp, and, despite abending, the debian source build may have almost gotten me almost there:

me at it:~$ find ~/tmp/gdal/ -name 'gdalwarp'
> /home/me/tmp/gdal/gdal-1.9.0/debian/tmp/usr/bin/gdalwarp
> /home/me/tmp/gdal/gdal-1.9.0/debian/gdal-bin/usr/bin/gdalwarp
> /home/me/tmp/gdal/gdal-1.9.0/apps/.libs/gdalwarp
> /home/me/tmp/gdal/gdal-1.9.0/apps/gdalwarp
me at it:~$ ls -alh ~/tmp/gdal/gdal-1.9.0/apps/gdalwarp
> -rwxr-xr-x 1 me me 7.9K Jul 13 14:55 /home/me/tmp/gdal/gdal-1.9.0/apps/gdalwarp
me at it:~$ ~/tmp/gdal/gdal-1.9.0/apps/gdalwarp --version
> GDAL 1.9.0, released 2011/12/29
me at it:~$ which gdalwarp
> /usr/bin/gdalwarp
me at it:~$ gdalwarp --version
> GDAL 1.7.3, released 2010/11/10
me at it:~$ info gdalwarp | tail -n 1
> GDAL                   Wed Mar 7 2012                   gdalwarp(1)

so hopefully the info is for 1.9.0. I'll see how this works on my data,
but would still like to fix the installer for the benefit of the next
poor bastard who "goes down this road."

HTH, Tom Roche <Tom_Roche at pobox.com>


More information about the gdal-dev mailing list