error: gdal.h: No such file or directory

Ryan Ollerenshaw ollerery at ENGR.ORST.EDU
Mon Sep 18 09:02:25 PDT 2006


When recompiling MapServer i am getting the following error:

-I/usr3/pkg4/OpenEV_FW_Tree/FWTools/include    mapfile.c -o mapfile.o
mapfile.c:149:20: error: gdal.h: No such file or directory
make: *** [mapfile.o] Error 1

[root at neuron mapserver-4.8.3]# locate gdal.h
/root/FWTools-1.0.5/include/gdal.h

the configure that i am using is:
 ./configure --with-proj=/usr/local/  --enable-runpath 
--with-geos=/root/FWTools-1.0.5/bin/geos-config 
--with-ogr=/root/FWTools-1.0.5/bin/gdal-config 
--with-gdal=/root/FWTools-1.0.5/bin/gdal-config 
--with-postgis=/usr/local/pgsql/bin/pg_config 
--with-curl-config=/usr/bin/curl-config 
--with-php=/usr/local/include/php  --with-wcs --with-wfs 
--with-wmsclient --with-wfsclient --with-threads

the gdal.h file is present i do not know why i am getting this error.



More information about the MapServer-users mailing list