Jump to content

al12s

Forum Members
  • Posts

    83
  • Joined

  • Last visited

Everything posted by al12s

  1. Спасибо, помогло, с первого раза только по вашим командам не вышло, добаивил еще команду source /opt/bin/gcc_env.sh и все завелось!
  2. Добрый день, присоединяюсь к вопросу. Но не совсем по этой теме, интересует в какую папку можно положить изображение и потом его открыть через http://192.168.1.xxx:8123/, в интернете много информации по пути /config/www, но в реализации keenetic такого пути нет, перепробовал множество папок и урлов, ничего не выходит. Прошу помощи. Заранее спасибо.
  3. Спасибо, доходчиво объяснили в чем может быть проблема, но что делать с этим я не понял с pip только начал знакомство,
  4. это хорошо уже не знаю куда копать, помогите советом. Несколько раз все переустановил по инструкциям (с этой ветки форума), но все равно на этапе установки netifaces ... error
  5. Пытаюсь установить pip install python-miio==0.5.6, ничего не выходит. Running setup.py install for netifaces ... error ERROR: Command errored out with exit status 1: command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-p6pujlyt/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.9/netifaces cwd: /opt/tmp/pip-install-64iorqlp/netifaces/ Complete output (18 lines): running install running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4 -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4 -DNDEBUG -fno-inline -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4 -DNDEBUG -fno-inline -pthread -I/work/testing/9999/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/opt/include/python3.9 -c netifaces.c -o build/temp.linux-mips-3.9/netifaces.o gcc: error: unrecognized command line option '-fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4' gcc: error: unrecognized command line option '-fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4' gcc: error: unrecognized command line option '-fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4' error: command '/opt/bin/gcc' failed with exit code 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-p6pujlyt/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.9/netifaces Check the logs for full command output.
  6. Спасибо, возможно вы еще сможете подсказать... запускаю две команды opkg update (проходит хорошо), а потом: opkg upgrade Upgrading homeassistant on root from 2021.5.1-1 to 2021.5.5-1... Downloading http://bin.entware.net/mipselsf-k3.4/test/HA/homeassistant_2021.5.5-1_mipsel-3.4.ipk и висит на этом.....
  7. Добрый день, помогите с Passive BLE monitor выводит ошибку: FileNotFoundError: [Errno 2] No such file or directory: 'hciconfig'
×
×
  • Create New...