[mapserver-users] GDAL compilation error

Frank Warmerdam warmerdam at pobox.com
Mon Oct 28 08:46:06 EST 2002


Sandor Csaba wrote:
> Hi,
> 
> I am trying to install mapserver with gdal support on a Solaris box 
> (virtual server, no root privileges). GDAL itself successfully compiles, 
> but mapserver configure script gives the following:
> ...
> checking if GDAL support requested... yes, user supplied gdal-config
> ./configure: /home/emla/lib/gdal: cannot execute
> ./configure: /home/emla/lib/gdal: cannot execute
> ...
> 
> What is it trying to execute at this point?

Sandor,

It is trying to execute the path you gave as if it were the gdal-config
script.  Is /home/emla/lib/gdal a build directory, or an install directory?
If you installed GDAL you should be able to find a bin/gdal-config script
in the install tree.  Use that as the argument to --with-gdal.  If you didn't
install GDAL then give /home/emla/lib/gdal/apps/gdal-config as the argument
to the --with-gdal option.

Good luck,
-- 
---------------------------------------+--------------------------------------
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    | Geospatial Programmer for Rent





More information about the mapserver-users mailing list