[redland-dev] [Redland RDF API 0000315]: cannot compile library on linux 2.6.31

Mantis Bug Tracker mantis-bug-sender at librdf.org
Thu Oct 29 16:09:27 CET 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=315 
====================================================================== 
Reported By:                schniggie
Assigned To:                
====================================================================== 
Project:                    Redland RDF API
Issue ID:                   315
Category:                   installation
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-10-29 15:09
Last Modified:              2009-10-29 15:09
====================================================================== 
Summary:                    cannot compile library on linux 2.6.31
Description: 
during ./configure i get:
---
checking for sqlite library versions available... 3.6.19
checking using sqlite library... yes - version 3.6.19
checking sqlite3.h usability... no
checking sqlite3.h presence... yes
configure: WARNING: sqlite3.h: present but cannot be compiled
configure: WARNING: sqlite3.h:     check for missing prerequisite
headers?
configure: WARNING: sqlite3.h: see the Autoconf documentation
configure: WARNING: sqlite3.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: sqlite3.h: proceeding with the preprocessor's result
configure: WARNING: sqlite3.h: in the future, the compiler will take
precedence
configure: WARNING:     ## -------------------------------------- ##
configure: WARNING:     ## Report this to http://bugs.librdf.org/ ##
configure: WARNING:     ## -------------------------------------- ##
checking for sqlite3.h... yes
checking sqlite.h usability... no
checking sqlite.h presence... no
checking for sqlite.h... no
...
Redland build summary:

  Using modular storage backends

  Berkeley/Sleepycat DB   : Version 4.7 (library db-4.7 in /usr/lib)
  Triple stores available : memory file hashes(memory) trees hashes(bdb
4.7) mysql(5.1.40) sqlite(3.6.19)
  Triple stores enabled   : memory file hashes trees mysql sqlite
  RDF parsers             : raptor(system 1.4.19)
  RDF query               : rasqal(system 0.9.16)
  Content digests         : md5 sha1

---

make aborts with:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/rasqal
-DLIBRDF_MODULE_DIR=\"/usr/lib/redland\" -DLIBRDF_INTERNAL=1 -O2
-march=i686 -pipe -MT librdf_storage_sqlite_la-rdf_storage_sqlite.lo -MD
-MP -MF .deps/librdf_storage_sqlite_la-rdf_storage_sqlite.Tpo -c
rdf_storage_sqlite.c  -fPIC -DPIC -o
.libs/librdf_storage_sqlite_la-rdf_storage_sqlite.o
In file included from rdf_storage_sqlite.c:49:
/usr/include/sqlite3.h:155: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:156: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:157: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:158: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:192: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:273: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:326: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:898: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:899: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:900: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:901: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:936: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:960: error: expected identifier or '(' before
numeric constant
...
/usr/include/sqlite3.h:5733: error: expected identifier or '(' before
numeric constant
/usr/include/sqlite3.h:5749: error: expected identifier or '(' before
numeric constant
rdf_storage_sqlite.c: In function
'librdf_storage_sqlite_get_next_common':
rdf_storage_sqlite.c:1405: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c:1410: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c:1420: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c:1428: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c:1429: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c:1437: warning: initialization makes pointer from
integer without a cast
rdf_storage_sqlite.c:1438: warning: initialization makes pointer from
integer without a cast
rdf_storage_sqlite.c:1442: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c:1463: warning: assignment makes pointer from integer
without a cast
rdf_storage_sqlite.c: In function
'librdf_storage_sqlite_get_next_context_common':
rdf_storage_sqlite.c:2412: warning: assignment makes pointer from integer
without a cast
make[3]: *** [librdf_storage_sqlite_la-rdf_storage_sqlite.lo] Error 1
make[3]: Leaving directory
`/var/ports/ecarux/redland/work/src/redland-1.0.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/ports/ecarux/redland/work/src/redland-1.0.9/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/ports/ecarux/redland/work/src/redland-1.0.9/src'
make: *** [all-recursive] Error 1
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-29 15:09 schniggie      New Issue                                    
======================================================================



More information about the redland-dev mailing list