[GRASS-user] GRASS 7 and gdal-grass-1.11.2 plugin
Blumentrath, Stefan
Stefan.Blumentrath at nina.no
Tue Apr 21 07:54:34 PDT 2015
Hi,
This has been discussed on the developers list. Have a look here:
http://osgeo-org.1560.x6.nabble.com/GDAL-GRASS-plugin-1-11-2-tt5196087.html
Cheers
Stefan
-----Original Message-----
From: grass-user-bounces at lists.osgeo.org [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of John A Stevenson
Sent: 21. april 2015 15:45
To: grass-user at lists.osgeo.org
Subject: [GRASS-user] GRASS 7 and gdal-grass-1.11.2 plugin
Hi,
I'm trying to install the GDAL-GRASS 7 plugin in order to plot GRASS data in QGIS.
I downloaded the source
(http://download.osgeo.org/gdal/1.11.2/gdal-grass-1.11.2.tar.gz) and followed the instructions in the README. When I try to configure with the following command:
```
CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \
--with-grass=/usr/lib/grass70 \
--with-gdal=/usr/bin/gdal-config ```
I get the following error:
```
checking for G_asprintf in -lgrass_gis... no checking for G_putenv in -lgrass_gis.7.0.svn... no
configure: error: --with-grass=/usr/lib/grass70 requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include /usr/lib/grass70/lib?
```
This is the same error as described in the gdal-grass README, but the workaround (creating grass.conf in /etc/ld.so.conf.d with /usr/lib/grass70/lib, then running sudo ldconfig) doesn't help. I have also tried patching the configure.in and Makefile.in source files using the patch from here: https://trac.osgeo.org/gdal/ticket/5852 without success.
How can I point to compiler at the right place?
* OS: Linux Mint 17, based on Ubuntu 14.04 (Trusty).
* GRASS version : 7.0.0-1~exp2~trusty3 from
ppa:ubuntugis/ubuntugis-unstable repository (installs to /usr/lib/grass70. Also installed grass-dev)
* GDAL version: 1.11.1+dfsg-1~exp2~trusty from
ppa:ubuntugis/ubuntugis-unstable repository (installs to /usr/bin)
Thanks,
John
--
Dr John A Stevenson
RSE/Scottish Government Personal Research Fellow (co-funded by Marie Curie Actions) School of GeoSciences The University of Edinburgh Grant Institute James Hutton Road Edinburgh EH9 3FE Scotland
PHONE: (+44) 131 650 7526
FAX: (+44) 131 668 3184
email: john.stevenson at ed.ac.uk
twitter: @volcan01010
web: http://www.geos.ed.ac.uk/homes/jsteven5
blog: http://all-geo.org/volcan01010
**ICELAND MOBILE: (+354) 8417106**
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user
mailing list