[redland-dev] storage confusion

Gregg Reynolds dev at mobileink.com
Wed Mar 18 17:09:21 CET 2009


I managed to get redland to compile on cygwin with sqlite3 support,
but the examples won't build:

$ make example1
gcc -DLIBRDF_INTERNAL=1 -g -O2    example1.c   -o example1
In file included from /usr/local/include/redland.h:40,
                 from example1.c:30:
/usr/local/include/librdf.h:266:26: rdf_internal.h: No such file or directory

etc.  Questions:

- What's this LIBRDF_INTERNAL?

- example1 uses "storage=librdf_new_storage(world, "memory", "test",
NULL);", so I assume the problem is not the lack of bdb support (as
section 3 of the build/install webpage warns of possible problems in
that case).  (Docs seem to be a bit out of sync)

- should I just use the bdb storage instead of sqlite3?  Eventually
I'm going to want to package up a standalone app that might see
triples in the small 100's of thousands at most.

Thanks,

gregg


More information about the redland-dev mailing list