Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # install -d -m0755 /home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/ipkg-install//usr/lib/python2.7/site-packages
- if [ "" == "HOST" ]; then export PYTHONPATH="/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/host/lib/python2.7:/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/host/lib/python2.7/site-packages"; export PYTHONDONTWRITEBYTECODE=0; else export PYTHONPATH="/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7:/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi//usr/lib/python2.7/site-packages:/home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/ipkg-install//usr/lib/python2.7/site-packages"; export PYTHONDONTWRITEBYTECODE=1; export _python_sysroot="/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi"; export _python_prefix="/usr"; export _python_exec_prefix="/usr"; fi; export PYTHONOPTIMIZE=""; cd /home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/; CC="arm-openwrt-linux-gnueabi-gcc" CCSHARED="arm-openwrt-linux-gnueabi-gcc -fpic" CXX="arm-openwrt-linux-gnueabi-g++" LD="arm-openwrt-linux-gnueabi-gcc" LDSHARED="arm-openwrt-linux-gnueabi-gcc -shared" CFLAGS="-Os -pipe -mcpu=cortex-a8 -mfpu=vfpv3-d16 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3:scipy-1.2.3 -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro" CPPFLAGS="-I/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/include -I/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/include -I/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/usr/include -I/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/include -I/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/include/python2.7" LDFLAGS="-L/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib -L/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/lib -L/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/usr/lib -L/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/lib -znow -zrelro -lpython2.7" _PYTHON_HOST_PLATFORM=linux2 __PYVENV_LAUNCHER__="/usr/bin/python2.7" /home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/host/bin/python2.7 ./setup.py install --prefix="/usr" --root="/home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/ipkg-install" ;
- Note: if you need reliable uninstall behavior, then install
- with pip instead of using `setup.py install`:
- - `pip install .` (from a git repo or downloaded source
- release)
- - `pip install scipy` (last SciPy release on PyPI)
- Traceback (most recent call last):
- File "./setup.py", line 492, in <module>
- setup_package()
- File "./setup.py", line 468, in setup_package
- from numpy.distutils.core import setup
- File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/__init__.py", line 180, in <module>
- from . import add_newdocs
- File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
- from numpy.lib import add_newdoc
- File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
- from .type_check import *
- File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
- import numpy.core.numeric as _nx
- File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in <module>
- from . import multiarray
- ImportError: /home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/core/multiarray.so: wrong ELF class: ELFCLASS32
- make[3]: *** [Makefile:102: /home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/.built] Error 1
- make[3]: Leaving directory '/home/user/openwrt/connido-feed/python-scipy'
- make[2]: *** [package/Makefile:106: package/feeds/connido/python-scipy/compile] Error 2
- make[2]: Leaving directory '/home/user/openwrt'
- make[1]: *** [package/Makefile:101: /home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/stamp/.package_compile] Error 2
- make[1]: Leaving directory '/home/user/openwrt'
- make: *** [/home/user/openwrt/include/toplevel.mk:207: world] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement