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

2014-07-23 Thread Paulo van Breugel


On 23-07-14 14:38, Markus Neteler wrote:

On Wed, Jul 23, 2014 at 2:18 PM, Paulo van Breugel
 wrote:

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/

  ? -- take out "gdal/" perhaps?
...


Should have been /usr/local/bin/ as you suggested below.


It stops halfway, with  the error message below:

checking for gdal-config... /usr/local/gdal/bin/gdal-config

It will likely be in
/usr/local/bin/gdal-config


Yes, it was there as soft link, but for some reason the link was 
broken...  recreating the link solved the problem. Thanks!




Hope this helps,
Markus


___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

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

2014-07-23 Thread Markus Neteler
On Wed, Jul 23, 2014 at 2:18 PM, Paulo van Breugel
 wrote:
> 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/
 ? -- take out "gdal/" perhaps?
...
>
> It stops halfway, with  the error message below:
>
> checking for gdal-config... /usr/local/gdal/bin/gdal-config

It will likely be in
/usr/local/bin/gdal-config

Hope this helps,
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


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

2014-07-23 Thread Paulo van Breugel

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?


___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev