[postgis-users] configure: error: GDAL Python bindings required by raster2pgsql.py loader
Puneet Kishor
punk.kish at gmail.com
Mon Oct 17 18:48:36 PDT 2011
Any suggestions, anyone? As shown below, I believe I have the Python bindings for GDAL installed, yet, I get the following error
RASTER: Raster support requested
checking for GDAL >= 1.6.0... found
checking for GDALFPolygonize in -lgdal... no
checking for GDAL Python bindings... not found
configure: error: GDAL Python bindings required by raster2pgsql.py loader
I am not quite sure how to convince the .configure script that I do have gdal w/Python.
On Oct 16, 2011, at 2:31 PM, Mr. Puneet Kishor wrote:
> From: "Mr. Puneet Kishor" <punkish at eidesis.org>
> Subject: configure: error: GDAL Python bindings required by raster2pgsql.py loader
> Date: October 16, 2011 2:29:19 PM CDT
> To: PostGIS Users Discussion <postgis-users at postgis.refractions.net>
>
>
> I believe I did install the GDAL Python bindings (via MacPorts), but my PostGIS 2.0 configure script claims I don't have it. Is there are way I can determine whether or not I have the bindings installed? (I am not Python-savvy) But, I do see stuff like so
>
> punkish at dyn-72-33-212-68 /Library/Frameworks/GDAL.framework/Programs$ll
> total 3072
> -rwxrwxr-x 1 root admin 7239 Jul 14 21:31 epsg_tr.py*
> -rw-r--r-- 1 root admin 3993 Jul 27 09:21 epsg_tr.pyc
> -rwxrwxr-x 1 root admin 2113 Jul 14 21:31 esri2wkt.py*
> -rw-r--r-- 1 root admin 803 Jul 27 09:21 esri2wkt.pyc
> -rwxrwxr-x 1 root admin 4758 Jul 14 21:31 gcps2vec.py*
> -rw-r--r-- 1 root admin 2546 Jul 27 09:21 gcps2vec.pyc
> -rwxrwxr-x 1 root admin 2485 Jul 14 21:31 gcps2wld.py*
> -rw-r--r-- 1 root admin 988 Jul 27 09:21 gcps2wld.pyc
> -rwxrwxr-x 1 root admin 1393 Jul 14 21:31 gdal-config*
> -rwxrwxr-x 1 root admin 89016 Jul 14 21:31 gdal2tiles.py*
> -rw-r--r-- 1 root admin 76288 Jul 27 09:21 gdal2tiles.pyc
> -rwxrwxr-x 1 root admin 5015 Jul 14 21:31 gdal2xyz.py*
> -rw-r--r-- 1 root admin 2977 Jul 27 09:21 gdal2xyz.pyc
> -rwxrwxr-x 1 root admin 12445 Jul 14 21:31 gdal_calc.py*
> -rw-r--r-- 1 root admin 6677 Jul 27 09:21 gdal_calc.pyc
> -rwxrwxr-x 1 root admin 35672 Jul 14 21:30 gdal_contour*
> -rwxrwxr-x 1 root admin 5831 Jul 14 21:31 gdal_fillnodata.py*
> -rw-r--r-- 1 root admin 3301 Jul 27 09:21 gdal_fillnodata.pyc
> -rwxrwxr-x 1 root admin 66152 Jul 14 21:30 gdal_grid*
> -rwxrwxr-x 1 root admin 16059 Jul 14 21:31 gdal_merge.py*
> -rw-r--r-- 1 root admin 11713 Jul 27 09:21 gdal_merge.pyc
> -rwxrwxr-x 1 root admin 6362 Jul 14 21:31 gdal_polygonize.py*
> -rw-r--r-- 1 root admin 3266 Jul 27 09:21 gdal_polygonize.pyc
> -rwxrwxr-x 1 root admin 5562 Jul 14 21:31 gdal_proximity.py*
> -rw-r--r-- 1 root admin 2975 Jul 27 09:21 gdal_proximity.pyc
> -rwxrwxr-x 1 root admin 84256 Jul 14 21:30 gdal_rasterize*
> -rwxrwxr-x 1 root admin 30897 Jul 14 21:31 gdal_retile.py*
> -rw-r--r-- 1 root admin 25671 Jul 27 09:21 gdal_retile.pyc
> -rwxrwxr-x 1 root admin 5355 Jul 14 21:31 gdal_sieve.py*
> -rw-r--r-- 1 root admin 2753 Jul 27 09:21 gdal_sieve.pyc
> -rwxrwxr-x 1 root admin 67888 Jul 14 21:30 gdal_translate*
> -rwxrwxr-x 1 root admin 34512 Jul 14 21:30 gdaladdo*
> -rwxrwxr-x 1 root admin 69584 Jul 14 21:30 gdalbuildvrt*
> -rwxrwxr-x 1 root admin 3014 Jul 14 21:31 gdalchksum.py*
> -rw-r--r-- 1 root admin 1563 Jul 27 09:21 gdalchksum.pyc
> -rwxrwxr-x 1 root admin 125560 Jul 14 21:30 gdaldem*
> -rwxrwxr-x 1 root admin 45624 Jul 14 21:30 gdalenhance*
> -rwxrwxr-x 1 root admin 3737 Jul 14 21:31 gdalident.py*
> -rw-r--r-- 1 root admin 1867 Jul 27 09:21 gdalident.pyc
> -rwxrwxr-x 1 root admin 3020 Jul 14 21:31 gdalimport.py*
> -rw-r--r-- 1 root admin 1694 Jul 27 09:21 gdalimport.pyc
> -rwxrwxr-x 1 root admin 51568 Jul 14 21:30 gdalinfo*
> -rwxrwxr-x 1 root admin 50776 Jul 14 21:30 gdallocationinfo*
> -rwxrwxr-x 1 root admin 34984 Jul 14 21:30 gdalmanage*
> -rwxrwxr-x 1 root admin 37048 Jul 14 21:30 gdaltindex*
> -rwxrwxr-x 1 root admin 36256 Jul 14 21:30 gdaltransform*
> -rwxrwxr-x 1 root admin 85296 Jul 14 21:30 gdalwarp*
> -rwxrwxr-x 1 root admin 7323 Jul 14 21:31 mkgraticule.py*
> -rw-r--r-- 1 root admin 3956 Jul 27 09:21 mkgraticule.pyc
> -rwxrwxr-x 1 root admin 35880 Jul 14 21:30 nearblack*
> -rwxrwxr-x 1 root admin 105064 Jul 14 21:30 ogr2ogr*
> -rwxrwxr-x 1 root admin 36864 Jul 14 21:30 ogrinfo*
> -rwxrwxr-x 1 root admin 49680 Jul 14 21:30 ogrtindex*
> -rwxrwxr-x 1 root admin 5395 Jul 14 21:31 pct2rgb.py*
> -rw-r--r-- 1 root admin 2871 Jul 27 09:21 pct2rgb.pyc
> -rwxrwxr-x 1 root admin 5192 Jul 14 21:31 rgb2pct.py*
> -rw-r--r-- 1 root admin 2647 Jul 27 09:21 rgb2pct.pyc
> -rwxrwxr-x 1 root admin 35648 Jul 14 21:30 testepsg*
>
> --
> Puneet Kishor
More information about the postgis-users
mailing list