Ok, I did overlook something obvious, re-compiling the gdal-grass plugin. However, when running configure I get the following error message:

configure: error: --with-grass=/usr/local/grass7/grass-7.0.sv requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include /usr/local/grass7/grass-7.0.sv/lib?

I did add a file 'grass7.conf' into the directory /etc/ld.so.conf.d/ with the path to the GRASS libraries. I also ran 'ldconfig'.

This all works when compiling the plugin for GRASS 6.4 so I am not sure what I am doing wrong. Any ideas?



On 04/07/2012 12:38 AM, Paulo van Breugel wrote:
Hi,

I try to compile QGIS_master with GRASS 7.0 support (on Ubuntu 11.10). In the ccmake file, I use:

GRASS_PREFIX: /usr/local/grass7/grass-7.0.svn/
GRASS_INCLUDE_DIR: /usr/local/grass7/grass-7.0.svn/include
LIB_PATH: /usr/local/grass7/grass-7.0.svn/lib/libgrass_gproj.so

However, running configure, it does not find the LIB_PATH. The path is correct though. Also, it does work for GRASS 6.4.0.

Am I overlooking something, or is it not possible to build QGIS with GRASS 7.0 support?

Rgds, Paulo
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to