[ELGIS] tile chace [SEC=UNCLASSIFIED]
Hatzopoulos, Nikolaos
hatzopou at chapman.edu
Mon Jan 30 12:05:14 EST 2012
libtool: compile: gcc -DUSE_OGR -DUSE_GEOS -DUSE_SQLITE -DUSE_PIXMAN -DUSE_TIFF -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -O2 -Wall -fPIC -DHAVE_SYMLINK -DNDEBUG -I../include -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/qpixman-1 -c service_tms.c -o service_tms.o >/dev/null 2>&1
/bin/sh ../libtool --tag CC --mode=compile gcc -DUSE_OGR -DUSE_GEOS -DUSE_SQLITE -DUSE_PIXMAN -DUSE_TIFF -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -O2 -Wall -fPIC -DHAVE_SYMLINK -DNDEBUG -I../include -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/qpixman-1 -c cache_sqlite.c
libtool: compile: gcc -DUSE_OGR -DUSE_GEOS -DUSE_SQLITE -DUSE_PIXMAN -DUSE_TIFF -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -O2 -Wall -fPIC -DHAVE_SYMLINK -DNDEBUG -I../include -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/qpixman-1 -c cache_sqlite.c -fPIC -DPIC -o .libs/cache_sqlite.o
cache_sqlite.c: In function '_mapcache_cache_sqlite_configuration_parse_xml':
cache_sqlite.c:272: warning: implicit declaration of function 'sqlite3_initialize'
cache_sqlite.c:273: warning: implicit declaration of function 'sqlite3_config'
cache_sqlite.c:273: error: 'SQLITE_CONFIG_MULTITHREAD' undeclared (first use in this function)
cache_sqlite.c:273: error: (Each undeclared identifier is reported only once
cache_sqlite.c:273: error: for each function it appears in.)
cache_sqlite.c: In function '_mapcache_cache_sqlite_configuration_post_config':
cache_sqlite.c:307: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [cache_sqlite.o] Error 1
make[1]: Leaving directory `/home/nickhatz/geocache/mapcache/lib'
make: *** [all] Error 2
It has to do with sqlite newer version.. SQLITE_CONFIG_MULTITHREAD
I am looking to see what that means :)
my configure is:
./configure --with-apxs=/usr/sbin/apxs --with-pixman=/usr/lib64/pkgconfig/qpixman-1.pc
rpm -aq sqlite: sqlite-3.5.9-2.el5.elgis
which I believe is the one from plus because I have enable this repo
-- Nikos
________________________________________
From: Mathieu Baudier [mbaudier at argeo.org]
Sent: Monday, January 30, 2012 12:16 AM
To: Hatzopoulos, Nikolaos
Cc: Peter Hopfgartner; el at lists.osgeo.org
Subject: Re: [ELGIS] tile chace [SEC=UNCLASSIFIED]
> I started building it for Centos5 but I hit a wall with sqlite
> and I have to make a custom build of sqlite if a conclude
> i a rpm that is working I'll forward the specs but currently
> is under development.
Did you try with sqlite from elgis-plus?
It could save you time if you just need a newer version for EL5.
More information about the el
mailing list