-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build py4s on ubuntu jaunty #2
Comments
what version of cython? |
You need version 0.12 of greater of Cython, the version you |
Version: 0.10.3-1build1 - standard on on debian? |
More errors: src/frontend/update.c:49: error: expected specifier-qualifier-list before ‘rasqal_update_operation’ |
What version of rasqal? pkg_config rasqal --version |
First had size_t issue mentioned here: http://www.rufuspollock.org/2010/02/08/howto-install-4store/
But then had:
running build
running build_py
running build_ext
cythoning _py4s.pyx to _py4s.c
Error converting Pyrex file to C:
...
RASQAL_LITERAL_UDT,
)
cdef _rnode(dict bindings, fs_row *row, rasqal_literal *l):
if l.type == RASQAL_LITERAL_URI:
return URIRef(py4s.raptor_uri_as_string(l.value.uri))
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/rnode.pyx:16:41: Cannot convert 'unsigned char *' to Python object
Error converting Pyrex file to C:
...
cdef _rnode(dict bindings, fs_row *row, rasqal_literal *l):
if l.type == RASQAL_LITERAL_URI:
return URIRef(py4s.raptor_uri_as_string(l.value.uri))
if l.type == RASQAL_LITERAL_VARIABLE:
return _node(row[bindings[l.value.variable.name]])
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/rnode.pyx:18:44: Cannot convert 'unsigned char *' to Python object
Error converting Pyrex file to C:
...
if l.type in LITERALS:
kw = {}
if l.language:
kw["lang"] = l.language.lower()
if l.datatype:
kw["datatype"] = URIRef(py4s.raptor_uri_as_string(l.datatype))
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/rnode.pyx:24:52: Cannot convert 'unsigned char *' to Python object
Error converting Pyrex file to C:
...
if l.type in (RASQAL_LITERAL_INTEGER, RASQAL_LITERAL_BOOLEAN):
val = l.value.integer
elif l.type == (RASQAL_LITERAL_FLOAT, RASQAL_LITERAL_DOUBLE):
val = l.value.floating
else:
val = l.string
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/rnode.pyx:30:10: Cannot convert 'unsigned char *' to Python object
Error converting Pyrex file to C:
...
val = l.value.floating
else:
val = l.string
return Literal(val, **kw)
if l.type == RASQAL_LITERAL_BLANK:
return BNode(l.string) # ???
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/rnode.pyx:33:16: Cannot convert 'unsigned char *' to Python object
Error converting Pyrex file to C:
...
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/_py4s.pyx:110:56: Cannot convert Python object to 'unsigned char *'
Error converting Pyrex file to C:
...
self.transaction(context)
transaction = True
else:
transaction = False
data = (n + u" .").encode("utf-8")
udata = data
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/_py4s.pyx:154:15: Cannot convert Python object to 'unsigned char *'
Error converting Pyrex file to C:
...
transaction = True
else:
transaction = False
data = (n + u" .").encode("utf-8")
udata = data
py4s.fs_import_stream_data(self._link, udata, len(udata))
^
/home/rgrp/hgroot/pyenv-openbiblio/src/py4s/_py4s.pyx:155:58: Cannot convert 'unsigned char *' to Python object
Error converting Pyrex file to C:
building '_py4s' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LAQRS=1 -DHAVE_RASQAL_WORLD=1 -Isrc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/rasqal -I/usr/include/python2.6 -c _py4s.c -o build/temp.linux-i686-2.6/_py4s.o -std=gnu99
_py4s.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'gcc' failed with exit status 1
The text was updated successfully, but these errors were encountered: