Skip to contentSkip to conversation

gdal: fix sqlite, expat and libtiff detection

PATCH In review Martin Jansa 3 participants 3 messages Dec 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdal: fix sqlite, expat and libtiff detection

* fixes following configure errors like:
checking for SQLite3 library >= 3.0.0... yes
cat: /OE/sysroots/qemux86/usr/lib/include/sqlite3.h: No such file or directory /OE/work/i586-starfish-linux/gdal/1.10.1-r0/gdal-1.10.1/configure:
line 25411: test: !=: unary operator expected
configure: WARNING: Can not find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version!
* and autodetected expat support which sometimes tries to use host version from /usr/include

---
 meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb +3 -2
index 4fa6de1..e22108e 100644
@@ -79,8 +79,9 @@ EXTRA_OECONF = "--without-perl \
                 --with-pcraster=internal \
                 --with-geotiff=internal \
                 \
-                --with-sqlite3=${STAGING_LIBDIR} \
-                --with-libtiff=${STAGING_LIBDIR} \
+                --with-sqlite3=${STAGING_EXECPREFIXDIR} \
+                --with-libtiff=${STAGING_EXECPREFIXDIR} \
+                --with-expat=${STAGING_EXECPREFIXDIR} \
 "
 
 EXTRA_OEMAKE += "INST_DATA="${datadir}/gdal""
Signature · 1 line
2.1.3
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Martin Jansa

* fixes following configure errors like:
checking for SQLite3 library >= 3.0.0... yes
cat: /OE/sysroots/qemux86/usr/lib/include/sqlite3.h: No such file or directory /OE/work/i586-starfish-linux/gdal/1.10.1-r0/gdal-1.10.1/configure:
line 25411: test: !=: unary operator expected
configure: WARNING: Can not find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version!
* and autodetected expat support which sometimes tries to use host version from /usr/include

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Acked-by Armin Kuster
#2 lore raw
Quoted 11 lines · Otavio Salvador
Quoted 10 lines · Martin Jansa

* fixes following configure errors like:
checking for SQLite3 library >= 3.0.0... yes
cat: /OE/sysroots/qemux86/usr/lib/include/sqlite3.h: No such file or directory /OE/work/i586-starfish-linux/gdal/1.10.1-r0/gdal-1.10.1/configure:
line 25411: test: !=: unary operator expected
configure: WARNING: Can not find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version!
* and autodetected expat support which sometimes tries to use host version from /usr/include

Quoted 4 lines
Quoted 1 line