You are not logged in.
Hello,
I have one specific question for the redland package maintainer and a broader question.
I have manually compiled the redland-bindings package and I am using the Arch redland package (1:1.0.17-4) to use the Python bindings. I am interested in the BDB-backed 'hashes' backend.
In Python, as I try to open a BerkeleyDB I get an error:
>>> import RDF
>>> hst = RDF.HashStorage('test', options="new='yes',hash-type='bdb',dir='/tmp/redland_test'")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/RDF.py", line 1571, in __init__
options_string = options)
File "/usr/lib/python3.6/site-packages/RDF.py", line 1545, in __init__
raise RedlandError("Creating Storage failed")
RDF.RedlandError: 'Creating Storage failed'
Conversely, the 'memory' hash-type works, so the first thing I thought about is any possible missing libraries or compile options.
My specific question is: is the BDB option compiled into the redland package?
The broader question is: is there a way to check the compile options for packages in the official Arch repositories?
Thanks,
s
Last edited by scossu (2018-01-12 03:18:40)
Offline
Offline
Thanks for the express response!
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--enable-release \
--disable-static \
--with-raptor=system \
--with-rasqal=system \
--with-sqlite=3 \
--with-bdb=no
That is quite self-explanatory. I guess that I will have to compile it myself, however I wonder if there is a good reason to have `with_bdb` turned off.
Offline
The db package has held back updates because of licensing issues, so it's generally preferred to not link packages to BDB in Arch if it can be avoided.
Last edited by Scimmia (2018-01-12 03:34:37)
Offline
Got it. Thanks again,
s
Offline
Sorry if this is a newbie question but this is the first time I compile an official Arch package:
$ makepkg -sp redland.pkgbuild
==> Making package: redland 1:1.0.17-5 (Thu Jan 11 21:50:00 CST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found redland-1.0.17.tar.gz
-> Found redland-1.0.17.tar.gz.asc
==> ERROR: rpath.diff was not found in the build directory and is not a URL.
I haven't even modified the PKGBUILD yet.
This seems to be the relevant line:
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc}
rpath.diff)
What am I doing wrong?
Offline
How did you acquire the PKGBUILD file? Did you download it? or did your grab the Tarbell? Clone the repository?
There are often more files than just the PKGBUILD.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Oh my goodness, sorry if I reported you by mistake!
The reply was: I just curl'd the "plain" version I got from Scimmia's link. That has worked for me with AUR, but maybe I have been lucky so far?
Offline
Oh my goodness, sorry if I reported you by mistake!
You did No harm, no foul.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Offline