Skip to content
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

Fix installation on 32bit platforms #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martinsvoboda
Copy link

Installation on 32bit Ubuntu raise compilation exception:

In file included from /usr/include/python3.6m/Python.h:8:0,
                     from bindings/pycldmodule.cc:15:
    /usr/include/python3.6m/pyconfig.h:3:12: fatal error: x86_64-linux-gnu/python3.6m/pyconfig.h: No such file or directory
     #  include <x86_64-linux-gnu/python3.6m/pyconfig.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'i686-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/home/quick/webapps/citaty/venv_citaty/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-79cyfho9/pycld2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-v_8ewo75-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/quick/webapps/citaty/venv_citaty/include/site/python3.6/pycld2" failed with error code 1 in /tmp/pip-build-79cyfho9/pycld2/

It is reported #30. After removing "-m64" argument from setup.py, compilation finished successfuly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant