Navigation

    MangoPi.Club

    • Register
    • Login
    • Search
    • Popular
    • 最新
    • 版块
    • 用户
    • 话题
    • Home

    openwrt18.06.5编译错误,configure: error: python is missing or unusable

    中文
    1
    1
    33
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      liweikui last edited by liweikui

      make V=s提示:
      checking whether to use python... yes
      checking for python... /home/luke/github/openwrt/staging_dir/host/bin/python
      checking for python2.7... no
      configure: error: python is missing or unusable
      make[5]: *** [Makefile:8764: configure-gdb] Error 1

      make[5]: Leaving directory '/home/luke/github/openwrt/build_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/gdb-8.0.1'
      make[4]: *** [Makefile:851: all] Error 2
      make[4]: Leaving directory '/home/luke/github/openwrt/build_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/gdb-8.0.1'
      make[3]: *** [Makefile:69: /home/luke/github/openwrt/build_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/gdb-8.0.1/.built] Error 2
      make[3]: Leaving directory '/home/luke/github/openwrt/toolchain/gdb'
      time: toolchain/gdb/compile#3.86#14.36#23.78
      make[2]: *** [toolchain/Makefile💯 toolchain/gdb/compile] Error 2
      make[2]: Leaving directory '/home/luke/github/openwrt'
      make[1]: *** [toolchain/Makefile:96: /home/luke/github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/stamp/.toolchain_compile] Error 2

      但是提示的目录下是有文件的:
      openwrt/staging_dir/host/bin# ll python*
      lrwxrwxrwx 1 root root 16 Oct 14 16:17 python -> /usr/bin/python2*
      lrwxrwxrwx 1 root root 16 Oct 10 17:58 python3 -> /usr/bin/python3*
      root@ub:/home/luke/github/openwrt/staging_dir/host/bin#

      怎么样解决这个错误,或者避免,不用python也行。

      1 Reply Last reply Reply Quote
      • First post
        Last post
      紧急事务请联系:hello @ widora.io