- 积分
- 461
- 金钱
- 372
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 461
- 金钱
- 372
- HASS币
- 0
|
发表于 2018-12-26 22:05:34
|
显示全部楼层
本帖最后由 tom663 于 2018-12-27 15:25 编辑
[K3 /tmp/share/sda1]# pip3 install cffi
Collecting cffi
Downloading https://files.pythonhosted.org/p ... /cffi-1.11.5.tar.gz (438kB)
100% |################################| 440kB 17kB/s
Requirement already satisfied: pycparser in ./root/opt/lib/python3.6/site-packages (from cffi) (2.19)
Building wheels for collected packages: cffi
Building wheel for cffi failed: [Errno 30] Read-only file system: '/.cache'
Failed to build cffi
Installing collected packages: cffi
Running setup.py install for cffi ... error
Complete output from command /opt/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rc44zpvf/cffi/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-record-iw3h262m/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.6
creating build/lib.linux-armv7l-3.6/cffi
copying cffi/recompiler.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/verifier.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/__init__.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/lock.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/api.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/cparser.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/error.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/commontypes.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/model.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.6/cffi
copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.6/cffi
copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.6/cffi
copying cffi/_embedding.h -> build/lib.linux-armv7l-3.6/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.6/cffi
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-armv7l-3.6
creating build/temp.linux-armv7l-3.6/c
arm-openwrt-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -I/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/usr/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/include -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.6 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.6/c/_cffi_backend.o
arm-openwrt-linux-gnueabi-gcc -shared -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/usr/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/lib -L/media/ware4/Entware-ng.2017.12/build_dir/target-arm_cortex-a9_glibc-2.23_eabi/Python-3.6.2 -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/usr/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/lib -L/media/ware4/Entware-ng.2017.12/build_dir/target-arm_cortex-a9_glibc-2.23_eabi/Python-3.6.2 build/temp.linux-armv7l-3.6/c/_cffi_backend.o -L/opt/lib -lffi -lpython3.6 -o build/lib.linux-armv7l-3.6/_cffi_backend.cpython-36.so
/opt/bin/ld: cannot find -lffi
collect2: error: ld returned 1 exit status
error: command 'arm-openwrt-linux-gnueabi-gcc' failed with exit status 1
----------------------------------------
Command "/opt/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rc44zpvf/cffi/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-record-iw3h262m/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-rc44zpvf/cffi/
楼主帮看下是怎么回事!装了好多次都卡在这了!! |
|