<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Markus,<br>
here is the complete g.version make error (I have replaced the
server critical paths with $builddir, $installdir and $pkgdir):<br>
<br>
<pre>./configure --prefix=$installdir \
--enable-shared \
--enable-64bit \
--enable-largefile \
--with-readline \
--with-gdal \
--with-sqlite \
--with-sqlite-libs=$pkgdir/anaconda/4.2.0/lib \
--with-sqlite-includes=$pkgdir/anaconda/4.2.0/include \
--with-geos \
--with-png \
--without-wxwidgets \
--with-netcdf \
--with-proj-includes=$pkgdir/proj4/4.9.3/include \
--with-proj-share=$pkgdir/proj4/4.9.3/share/proj \
--with-proj-libs=$pkgdir/proj4/4.9.3/lib \
--with-freetype-include=/usr/include/ \
--with-freetype-libs=/usr/lib/ \
--with-includes=/usr/include/freetype2 \
--with-python \
--without-opengl \
--without-fftw
-------
cd general/g.version
gcc -I/usr/include/freetype2 -g -O2 -I/usr/include/freetype2 -I$builddir/grass-7.2.0/dist.x86_64-pc-linux-gnu/include -I$builddir/grass-7.2.0/dist.x86_64-pc-linux-gnu/include \
-I$pkgdir/proj4/4.9.3/include -I$pkgdir/gdal/2.1.3/include -I$pkgdir/geos/3.6.1/include -DGRASS_VERSION_NUMBER=\"'7.2.0'\" -DGRASS_VERSION_DATE=\"'2016'\" \
-DGRASS_VERSION_SVN=\"'exported'\" -DGRASS_VERSION_UPDATE_PKG=\"''\" -DARCH=\"'x86_64-pc-linux-gnu'\" -DPACKAGE=\""grassmods"\" \
-I$builddir/grass-7.2.0/dist.x86_64-pc-linux-gnu/include -I$builddir/grass-7.2.0/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"general/g.version\" -o OBJ.x86_64-pc-linux-gnu/main.o -c main.c
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
</pre>
As I said, with -I$pkgdir/anaconda/4.2.0/include
it worked fine.<br>
<br>
Michel <br>
<br>
<div class="moz-cite-prefix">On 02/22/2017 09:07 PM, Markus Neteler
wrote:<br>
</div>
<blockquote
cite="mid:CALFmHhvQr_6y1PqfrAa3wGA+cMA811eAvTB_N85Yff3SjzpPvg@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Feb 22, 2017 at 1:13 PM, Michel Wortmann
<a class="moz-txt-link-rfc2396E" href="mailto:wortmann@pik-potsdam.de"><wortmann@pik-potsdam.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
Please post it completely, so that we can analyse the issue.
Markus
</pre>
</blockquote>
<br>
</body>
</html>