[gdal-dev] GDAL-GRASS-plugin 1.11.2

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Mon Mar 30 08:22:30 PDT 2015


Hi,

I just tried to compile the GDAL-GRASS-plugin 1.11.2 against GRASS 7.0.1 (the release branch).

It seems that there are some issues with the configure /configure.in file in the plugin

There ".7.0.svn" is hard coded in the library links (while the stable release puts the libraries in a folder ending on ".7.0.1svn"). So, I had to run:
sed -i 's/\.7\.0\.svn/.7.0.1svn/g' configure
In order to be able to configure the plugin.

After that it seems to work fine although I get a warning messages on ./configure:
"
checking for ranlib... ranlib
conftest2.c: In function 'g':
conftest2.c:2:1: warning: zero-length gnu_printf format string [-Wformat-zero-length]
void g(); void g(){printf("");}
^
"

Furthermore, I had to specify the includes for my PostgreSQL in order to make "make" work:
CPPFLAGS="-I/usr/include/postgresql" ./configure --with-grass=/usr/local/grass-7.0.1svn --with-gdal=/usr/local/bin/gdal-config

I also got an error on "sudo make install":
cp: cannot stat '/usr/local/grass-7.0.1svn/etc/ellipse.table': No such file or directory
make: *** [install] Error 1

But GDAL / OGR do now read both GRASS 7 raster and vector nicely...

Kind regards,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150330/fae76e61/attachment.html>


More information about the gdal-dev mailing list