BRCM5.02编译十:cmake: command not found

现象

-DCMAKE_INSTALL_PREFIX:PATH=/home/wangxinyu/work/AX1803/6755_sdk/targets/947622GWCTCSAPTR98/fs.build/public \

/home/wangxinyu/work/AX1803/6755_sdk/userspace/public/libs/libubox/libubox-2019-02-27-eeef7b50

/bin/sh: line 1: cmake: command not found

make[3]: *** [check_untar_cmake] Error 127

make[3]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk/userspace/public/libs/libubox'

make[2]: *** [public/libs/libubox] Error 2

make[2]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk/userspace'

make[1]: *** [userspace] Error 2

make[1]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk'

make: *** [default] Error 2

解决方案:

yum install cmake

(Centos7编译环境使用yum,ubuntu使用apt-get,OpenSUSE使用zypper )


上一篇:python中nonlocal的作用


下一篇:设计模式之装饰器模式