LSDK 21.08 makefile error - Please set 'PYTHON' appropriately

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LSDK 21.08 makefile error - Please set 'PYTHON' appropriately

跳至解决方案
3,353 次查看
bladerunner1010
Contributor III

Makefile.config:232: *** Please set 'PYTHON' appropriately. Stop.
make[6]: *** [Makefile.perf:229: sub-make] Error 2
make[5]: *** [Makefile:70: all] Error 2
make[4]: *** [Makefile:85: perf] Error 2

标记 (2)
1 解答
3,349 次查看
bladerunner1010
Contributor III

OK I got passed this issue by installing python-devel. Its need for the perf tool when building the kernel.

$ sudo apt-get install -y python-dev

 

在原帖中查看解决方案

3 回复数
3,350 次查看
bladerunner1010
Contributor III

OK I got passed this issue by installing python-devel. Its need for the perf tool when building the kernel.

$ sudo apt-get install -y python-dev

 

2,640 次查看
arm_linux
Contributor II

solved my problem,thanks

 

3,338 次查看
r_o_
Contributor I

I had the exactly same problem on Ubuntu 20.04, and your solution worked for me.

Thank you.