[gdal-dev] Python (2.6.5) GDAL module will not install with
easy_install
Ari Jolma
ari.jolma at gmail.com
Thu May 6 12:43:09 EDT 2010
Allen Rongone wrote:
> I have installed the setuptools 0.6c11 and am using easy_install
>
> My gdal-config is in /usr/bin, however, when I run easy_install
> GDAL it complains that it "Could not run gdal-config!!!" and then
> contiues on complaining about a bunch of stuff not being declared.
This is really for Howard or some other Python guru but I took a look
out of curiosity. I downloaded the GDAL package from pypi.python.org and
run the setup.py from there. It also complains me about not finding
gdal-config, which I have in the path, but it really seems to be looking
for ../../apps/gdal-config
Also interestingly, it complains not finding swq.h, which is kind of bug
I've reported (http://trac.osgeo.org/gdal/ticket/3468).
So it seems to me that the setup.py was designed to be run in
gdal/swig/python.
In fact the case is a bit similar with GDAL-Perl, which is difficult to
run and not really designed to be run outside of gdal/swig/perl ... This
seems a good occasion to remind myself and other developers again that
I'd really like to have gdal.pc (see
http://pkg-config.freedesktop.org/wiki/).
Ari
More information about the gdal-dev
mailing list