[Gdal-dev] python and gdal
werchowyna at pf.pl
Mon Aug 30 16:18:07 EDT 2004
I have already posted this once but haven't got a good answer. Thus I'm
trying again, maybe now You will have some time to help an amateur.
I'm still having a problem with building Gdal from source (both 1.2.1 and
the CVS snapshot). The reason is my Python configuration.
My Linux is Mandrake 9.2.
I'm configuring this way:
CXXFLAGS="-march=athlon-xp -O2 -Wall" CFLAGS="-march=athlon-xp -O2 -Wall"
And in the config.log I get:
configure:24160: checking for python
configure:24176: found /usr/bin/python
configure:24186: result: python
configure:24202: checking where python Makefiles are
configure:24217: result: found
configure:24221: checking Python makefile
configure:24228: result: missing, python disabled.
configure:24335: checking for NumPy include files
configure:24345: result: missing
Frank Warmerdam once wrote that I should have
/usr/lib/python2.3/config/Makefile. But I don't have it nor even the
/usr/lib/python2.3/config/ folder (but plenty of other floders in the
/usr/lib/python2.3). And I suppose I shouldn't have the Python Makefile
because I installed all my Python bits from precompiled RPMs (like most
users do?) and none of the Python-related RPMs known to me provide a
If anybody could explain it to me I would be gratefull.
More information about the Gdal-dev