[GRASS-user] grass configure error, couldn't find GDAL

Scott odonnell at peakpeak.com
Sat Jan 17 16:09:53 EST 2009


Group,
I'm trying to build grass-6.3.0 within Slackware-12.1 (linux OS).

My grass configure command:
configure --with-gdal --with-cxx --with-netcdf=/usr/local/netcdf

During the grass configuration, the it aborts with the following stmts:

checking whether to use GDAL... yes
checking for gdal-config... /usr/local/bin/gdal-config
checking for GDALOpen... no
checking for GDALOpen... no
configure: error: *** couldn't find GDAL

I've read that this is caused by a gdal-config problem,
yet I can execute
  /usr/local/bin/gdal-config --dep-libs
with this result:
  -I/usr/include -lsqlite3 -L/usr/lib -lexpat -L/usr/local/lib
-lxerces-c -lpthread -lgif
  -L/usr/lib/lib -ljpeg -lpng -L/usr/local/netcdf
  -L/usr/local/netcdf/lib -lnetcdf -lpq -L/usr/local/pgsql/lib -lpq -lz
-lm -lrt -ldl -lcurl

(gdal-1.6.0 built and installed prior to grass configuration)


My grass configure command is simple.  I'm trying to eliminate problems
without introducing too many complexities, incremental  configuration.
I will add more libs after resolving this problem.


What have I missed, how do I fix this error?
Scott O'Donnell

-- 
Colvard's Logical Premise:                   | Scott O'Donnell
   All probabilities are 50%.                | odonnell at peakpeak.com
   Either a thing will happen or it won't.   |






More information about the grass-user mailing list