[gdal-dev] PYTHON variable problem in GDALmake.opt

Eugenio Realini eugenio.realini at gmail.com
Thu Feb 4 00:54:28 EST 2010


Hello,

while compiling gdal 1.7.0 on Slackware64 I noticed that the PYTHON
variable is set to "no" in GDALmake.opt even if the configure output
says "SWIG Bindings:  python".
Then the make fails because it tries to run: "no setup.py build".

If I change "PYTHON = no" to "PYTHON = python" manually, then
everything goes well.

When I compile gdal 1.6.3 on the same machine it correctly sets
"PYTHON = python".
Is there something I'm doing wrong with the new version?

This is my call to configure:

./configure --prefix=/usr \
--libdir=/usr/lib64 \
--with-libz=/usr/lib64 \
--with-netcdf \
--with-libtiff=internal \
--with-curl=/usr/bin/curl-config \
--with-mysql=yes \
--with-static-proj4 \
--with-threads \
--with-hide-internal-symbols=yes \
--with-python \
--build=x86_64-slackware-linux

Thanks
Eugenio


More information about the gdal-dev mailing list