LSDK 21.08 makefile error - Please set 'PYTHON' appropriately

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

LSDK 21.08 makefile error - Please set 'PYTHON' appropriately

跳至解决方案
1,636 次查看
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 解答
1,632 次查看
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 回复数
1,633 次查看
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

 

923 次查看
arm_linux
Contributor II

solved my problem,thanks

 

1,621 次查看
r_o_
Contributor I

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

Thank you.