编译错误
详细叙述
始终报错,什么插件都不加也报错
重复 issue
- [X] 没有类似的 issue
具体型号
小米路由器R3G
详细日志
make[3]: Entering directory '/home/krohnya/lede/tools/meson'
. /home/krohnya/lede/include/shell.sh; /home/krohnya/lede/staging_dir/host/bin/libdeflate-gzip -dc /home/krohnya/lede/dl/meson-1.5.1.tar.gz | tar -C /home/krohnya/lede/build_dir/host/meson-1.5.1/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /home/krohnya/lede/build_dir/host/meson-1.5.1
touch /home/krohnya/lede/build_dir/host/meson-1.5.1/.prepared1d032fcf37def14542604e0066b71d22_6664517399ebbbc92a37c5bb081b5c53
touch /home/krohnya/lede/build_dir/host/meson-1.5.1/.configured
touch /home/krohnya/lede/build_dir/host/meson-1.5.1/.built
install -d -m0755 /home/krohnya/lede/staging_dir/host/bin
/home/krohnya/lede/build_dir/host/meson-1.5.1/packaging/create_zipapp.py /home/krohnya/lede/build_dir/host/meson-1.5.1 --outfile /home/krohnya/lede/staging_dir/host/bin/meson.py
Traceback (most recent call last):
File "/home/krohnya/lede/build_dir/host/meson-1.5.1/packaging/create_zipapp.py", line 23, in
有个跟你类似的问题参考下 https://github.com/coolsnowwolf/lede/issues/7175
python 的 版本切换到 3.8 以上
我的也是这个报错,你解决了吗?
编译环境ubuntu安装python3.8 把/usr/bin/python3.8 链接到 源码目录的staging_dir/host/bin/python3