我正在使用buildroot,但看起来htop包的依赖项是错误的。我已经选择了htop和宿主python,但在构建buildroot时,将尝试首先编译htop,并停止以下错误:
>>> htop 2.2.0 Building
PATH="/home/azagent/a1/_work/6/s/buildroot-2020.02.6/output/host/bin:/home/azagent/a1/_work/6/s/buildroot-2020.02.6/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /usr/bin/make -j7 -C /home/azagent/a1/_work/6/s/buildroot-2020.02.6/output/build/htop-2.2.0/
make[1]: Entering directory '/home/azagent/a1/_work/6/s/buildroot-2020.02.6/output/build/htop-2.2.0'
./scripts/MakeHeader.py CategoriesPanel.c
./scripts/MakeHeader.py MainPanel.c
./scripts/MakeHeader.py DisplayOptionsPanel.c
./scripts/MakeHeader.py Header.c
./scripts/MakeHeader.py htop.c
./scripts/MakeHeader.py ProcessList.c
/usr/bin/env: /usr/bin/env: ‘python’‘python’: No such file or directory
: No such file or directory
/usr/bin/env: ‘python’: No such file or directory
/usr/bin/env: ‘python’: No such file or directory
如果我先在没有htop的情况下建造,然后再次选择htop进行重建,那么一切都很好。其他人有这个问题,知道如何解决吗?我需要修补htop包依赖项吗?
目前我通过在主机上安装python自行解决了这个问题。