[Mapserver-users] compile error with org
Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Tue Jun 10 14:13:17 PDT 2003
Yup,
Like the error message says, you have to point to the gdal-config utility
using --with-ogr ...
So if your directory is the source tree where gdal was built, it should be
something like:
--with-ogr=/home/mapserver/gdal-1.1.8/apps/gdal-config
(untested)
OR, you install the library on the system, which by default puts in the
/usr/local/ tree, in which case you use:
--with-ogr=/usr/local/bin/gdal-config or simply --with-ogr (it should find
it automatically if it's in your path)
Cheers,
J.F.
-----Original Message-----
From: Aaron D. Hunt [mailto:hunt at zedxinc.com]
Sent: Tuesday, June 10, 2003 5:00 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] compile error with org
I am using the config line on a redhat linux system
./configure --without-tiff --with-proj=/home/mapserver/proj-4.4.7
--with-gdal=/home/mapserver/gdal-1.1.8/
--with-ogr=/home/mapserver/gdal-1.1.8/ --with-jpeg
--with-gd=/home/mapserver/gd-2.0.15
--with-freetype=/home/mapserver/freetype-2.1.4
--with-ming=/home/mapserver/ming-0.2a --with-wmsclient
When it gets to ogr I get
checking whether we should compile in MPATROL support...
MPATROL support not requested.
checking whether we should include OGR support...
using OGR from /home/mapserver/gdal-1.1.8//ogr.
checking if GDAL support requested... configure: error:
'/home/mapserver/gdal-1.1.8/' is not an executable. Make sure you use
--with-gdal=/path/to/gdal-config
Does anyone have any ideas
Aaron D. Hunt
Technical Manager
ZedX Inc.
More information about the MapServer-users
mailing list