pyCurl installation Failed: arm-linux-gnueabihf-gcc



Recommended Posts

Hi all,


I´m trying to install pyCurl with command as root

pip install pycurl

after 10 seconds, console show me this error:

(venv)root@cubox-i:~/pyCA# pip install pycurl
Collecting pycurl
  Using cached pycurl-
Installing collected packages: pycurl
  Running install for pycurl
    Complete output from command /root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3uzAV0-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/pyCA/venv/include/site/python2.7/pycurl:
    Using curl-config (libcurl 7.38.0)
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-2.7
    creating build/lib.linux-armv7l-2.7/curl
    copying python/curl/ -> build/lib.linux-armv7l-2.7/curl
    running build_ext
    building 'pycurl' extension
    creating build/temp.linux-armv7l-2.7
    creating build/temp.linux-armv7l-2.7/src
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPYCURL_VERSION="" -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/docstrings.c -o build/temp.linux-armv7l-2.7/src/docstrings.o
    In file included from src/docstrings.c:4:0:
    src/pycurl.h:148:30: fatal error: gnutls/gnutls.h: No such file or directory
     #   include <gnutls/gnutls.h>
    compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Command "/root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3uzAV0-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/pyCA/venv/include/site/python2.7/pycurl" failed with error code 1 in /tmp/pip-build-yYNrnD/pycurl

When Im trying to install arm-linux-gnueabihf-gcc, with apt-get install ..... this package will not be founded. 


Hope for help.

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.