error: gdal.h: No such file or directory
Frank Warmerdam
warmerdam at POBOX.COM
Tue Sep 19 09:44:44 PDT 2006
Ryan Ollerenshaw wrote:
> 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.
Ryan,
Funky. /usr3/pkg4/ is where the FWTools stuff lives on my system when
I am building it. I suspect the gdal-config script isn't being re-worked
properly as part of the install process. Lacking that, you can just
edit the MapServer Makefile to fix the problem, or possibly edit
FWTools-1.0.5/bin/gdal-config and fix the path there.
If you file a bug against FWTools on this issue, I'll try and handle
it properly in the future.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the MapServer-users
mailing list