[Gdal-dev] python and gdal
dron at ak4719.spb.edu
Mon Aug 30 23:47:38 EDT 2004
On Mon, Aug 30, 2004 at 10:18:07PM +0200, Maciek Sieczka wrote:
> My Linux is Mandrake 9.2.
> I'm configuring this way:
> CPPFLAGS="-I/usr/include/python2.3/Numeric -I/usr/include/mpatrol"
> 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 "Makefile".
On my Debian this file comes with the python-dev package. Most likely
that this is the case for your distribution too, so you should just
install "development" part of the Python.
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev