[GRASS-dev] compiling grass 7 fails, complains about not finding gdal (which however is there)

Paulo van Breugel p.vanbreugel at gmail.com
Wed Jul 23 05:18:40 PDT 2014


I am trying to compile grass 7, with configuration settings:

./configure --prefix=/usr/local/grass7 --enable-64bit --with-libs=/lib64 
--with-sqlite --with-odbc --with-cairo --with-geos --with-cxx=yes 
--with-gdal=/usr/bin/gdal/bin/ --with-python=yes 
--with-wxwidgets=/usr/bin/wx-config --with-readline --with-freetype 
--with-freetype-includes=/usr/include/freetype2 --enable-largefile 
--with-motif --with-motif-includes=/usr/include 
--with-proj-share=/usr/share/proj --with-pthread --with-postgres 
--with-postgres-libs=/usr/include/postgresql/libpq 
--with-postgres-includes=/usr/include/postgresql --with-lapack --with-blas

It stops halfway, with  the error message below:

checking for gdal-config... /usr/local/gdal/bin/gdal-config
configure: error: *** Unable to locate GDAL library.

However, the gdal-config is there (and works without problem from the 
command line), the path has been defined in the .bashrc and .configure 
files in my home directory. Also, nothing has changed since the last 
time I compiles grass (successfully), so I am at loss what to do next. 
Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140723/e4ac329e/attachment.html>


More information about the grass-dev mailing list