现象

-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 )


©著作权归作者所有:来自51CTO博客作者wangxinyu2011的原创作品,如需转载,请注明出处,否则将追究法律责任

更多相关文章

  1. BRCM5.02编译五: fatal error: uuid/uuid.h: No such file or dir
  2. BRCM5.02编译二:Error: Could not retreive version from automak
  3. BRCM5.02编译八: ERROR: you are missing a basic functioning pe
  4. BRCM5.02编译九:cannot find -lncurses
  5. BRCM5.02编译四: ERROR: lzo/lzo1x.h development library is req
  6. BRCM5.02编译七:No package 'uuid' found
  7. BRCM5.02编译三 : Error: Could not retreive version from libto
  8. BRCM5.02编译一 : 缺少工具链路
  9. ssh登录日志收集

随机推荐

  1. Golang判断文件是否能写入的方法
  2. golang可以调用lua吗?
  3. Golang如何打印单引号和双引号
  4. golang开发时如何debug
  5. Golang如何打包在Linux上部署
  6. golang开发工程师是做什么的
  7. golang如何创建目录
  8. golang的优势在哪里
  9. golang可以写web吗?
  10. golang结构体怎么判断是否为空