Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (â‹®) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pyCurl installation Failed: arm-linux-gnueabihf-gcc

Featured Replies

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-7.19.5.1.tar.gz
Installing collected packages: pycurl
  Running setup.py install for pycurl
    Complete output from command /root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/setup.py';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/__init__.py -> 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="7.19.5.1" -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/setup.py';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.

src/pycurl.h:148:30: fatal error: gnutls/gnutls.h: No such file or directory

 

So it seems, GNUTLS development stuff is missing. Did you try to install libcurl4-gnutls-dev already? Or try 

apt-cache search gnutls | grep dev

and install the packages listed one by one.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.