Skip to content

inbloom.c compilation error #5

@gabrielspmoreira

Description

@gabrielspmoreira

Great job with this cross-platform implementation.

Therefore, I when I try to install it via pip (and pip3) I got the following compilation error:

Running setup.py install for inbloom
Running command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip_build_root/inbloom/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-e5h0ko0c-record/install-record.txt --single-version-externally-managed --compile
running install
running build
running build_ext
building 'inbloom' extension
creating build
creating build/temp.linux-x86_64-3.4
creating build/temp.linux-x86_64-3.4/inbloom
creating build/temp.linux-x86_64-3.4/vendor
creating build/temp.linux-x86_64-3.4/vendor/libbloom
creating build/temp.linux-x86_64-3.4/vendor/libbloom/murmur2
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ivendor/libbloom/murmur2 -I/usr/include/python3.4m -c inbloom/inbloom.c -o build/temp.linux-x86_64-3.4/inbloom/inbloom.o

inbloom/inbloom.c:186:9: error: ‘Filter’ has no member named ‘ob_type’
self->ob_type->tp_free((PyObject*)self);

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Is there any other installation requirement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions