compilation error
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Mon Apr 18 06:36:40 PDT 2005
> ../configure \
> --with-proj \
> --with-ogr \
> --with-gd=/usr/local/gd-2.0.33 \
> --with-gdal=/usr/local/gdal-1.2.6 \ --with-png \
> --with-php=/usr/local/php-5.0.4/
>
> it gives an error about gdal like this:
>
> checking if GDAL support requested... configure: error:
> '/usr/local/gdal-1.2.6/' is not an executable. Make sure you
> use --with-gdal=/path/to/gdal-config
>
> how can I solve this problem ?
You have to set --with-gdal to the path of where the gdal-config is
located. For example, I installed my gdal in /usr/local, hence:
--with-gdal=/usr/local/bin/gdal-config
..Tom
More information about the MapServer-users
mailing list