[Mapserver-users] encounter errors even with gdal 1 1 8

Sean Gillies sgillies at frii.com
Wed Aug 13 12:07:08 EDT 2003


On Wednesday, August 13, 2003, at 09:34  AM, Steffen Gebhardt wrote:

> Now I tried with gdal 118
> ../configure seemed to work fine
>
> but make isn't. after millions of minutes this message appears.
> seems that there are errors in gdal_py.h or what? HELP. Is there a 
> stable
> version or am i to stupid?
>
>
> make[1]: Leaving directory `/tmp/unpacked/gdal-1.1.8'
> (cd pymod; make)
> make[1]: Entering directory `/tmp/unpacked/gdal-1.1.8/pymod'
> gcc -c  -I.. -I../port -I../core -I../ogr -I/usr/include/python2.1
> -I/usr/include/python2.1\
>         -Wall -fPIC -O2 -I/usr/local/include  -I/usr/local/include  
> gdal_wrap.c -o gdal_wrap.o
> gdal_wrap.c:35: Python.h: Datei oder Verzeichnis nicht gefunden
> In file included from gdal_wrap.c:447:
> gdal_py.h:44: Python.h: Datei oder Verzeichnis nicht gefunden
> make[1]: *** [gdal_wrap.o] Error 1
> make[1]: Leaving directory `/tmp/unpacked/gdal-1.1.8/pymod'
> make: *** [py-module] Error 2
>
Steffen,

GDAL will try to build a Python module by default.  Configure using
--without-python if you don't want it.  Read the output of
./configure --help (_always_ a good thing to do) for more info.

cheers,
Sean


--
Sean Gillies
sgillies at frii dot com
http://www.frii.com/~sgillies




More information about the mapserver-users mailing list