[redland-dev] Ruby bindings fail
Jim Amsden
jimamsden at gmail.com
Sun Oct 9 15:53:29 CEST 2011
I'm very new to Redland, just built it yesterday on Mac OS X lion 10.7.1. I had no problems until I attempted to run the Ruby example.rb file. It appears that the llibrdf_new_storage method is failing by returning nil. Ruby uses a global variable $world for the Redland World. This variable appears to be initialized.
Here's part of the output of make check:
jraMacBookPro:redland-bindings-1.0.13.1 jamsden$ make check
Making check in ruby
Making check in lib
Making check in rdf
Making check in redland
Making check in schemas
make[5]: Nothing to be done for `check'.
make[5]: Nothing to be done for `check-am'.
make[4]: Nothing to be done for `check-am'.
make[3]: Nothing to be done for `check-am'.
Making check in test
make check-local
Testing Ruby
Checking test_model.rb Loaded suite ./test_model
Started
.....E
Finished in 0.009668 seconds.
1) Error:
testcontext(TestModel):
Redland::RedlandError: Creating Storage Failed
../lib/rdf/redland/store.rb:26:in `initialize'
../lib/rdf/redland/store.rb:87:in `initialize'
./test_model.rb:86:in `new'
./test_model.rb:86:in `testcontext'
6 tests, 13 assertions, 0 failures, 1 errors
I get the same error running the example.rb program.
I'm using raptor2-2.0.4, rasqal-0.9.27, redland-1.0.14 and redland-bindings-1.0.13.1.
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.librdf.org/pipermail/redland-dev/attachments/20111009/c9cd52bf/attachment.htm
More information about the redland-dev
mailing list