[GRASS-dev] g.version build failing with --with-sqlite-includes

Michel Wortmann wortmann at pik-potsdam.de
Wed Feb 22 04:13:40 PST 2017


Hi team,
it's really a minor issue, but wanted to let you know that I just built 
grass-7.2.0 (on Suse SLE 12.2) configured with the 
--with-sqlite-includes=/path/include flag. I got an error in 
general/g.version complaining that it cant find sqlite3.h. On running 
the gcc command to compile main.c with a -I/path/include flag, it worked 
and grass installed successfully. Maybe there is a forgotten include in 
the Makefile setup?

$ cd general/g.version

$ make

main.c:37:21: fatal error: sqlite3.h: No such file or directory

compilation terminated.

../../include/Make/Compile.make:32: recipe for target 'OBJ.x86_64-pc-linux-gnu/main.o' failed

make: *** [OBJ.x86_64-pc-linux-gnu/main.o] Error 1

$ gcc <lots of includes> -I/path/to/sqlite/include -o OBJ.x86_64-pc-linux-gnu/main.o -c main.c

$ # this works well


Regards,
Michel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170222/ef09befd/attachment.html>


More information about the grass-dev mailing list