Issue #106 resolved

CFFI install failed using pip in archlinux on a raspberry pi

sookbox
created an issue

Python 2.7.5 pip install cffi

running build

running build_py

creating build

creating build/lib.linux-armv6l-2.7

creating build/lib.linux-armv6l-2.7/cffi

copying cffi/verifier.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/vengine_gen.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/vengine_cpy.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/model.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/gc_weakref.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/ffiplatform.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/cparser.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/commontypes.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/backend_ctypes.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/api.py -> build/lib.linux-armv6l-2.7/cffi

copying cffi/init.py -> build/lib.linux-armv6l-2.7/cffi

running build_ext

building '_cffi_backend' extension

creating build/temp.linux-armv6l-2.7

creating build/temp.linux-armv6l-2.7/c

gcc -pthread -fno-strict-aliasing -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv6l-2.7/c/_cffi_backend.o

c/_cffi_backend.c:14:17: fatal error: ffi.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

Comments (3)

  1. cypressf

    libffi is already installed

    pacman -Qs libffi
    local/libffi 3.0.13-3
        A portable, high level programming interface to various
        calling conventions
    
  2. Log in to comment