错误现象:
/usr/libexec/grepconf.sh:行5: grep: 未找到命令 -bash: basename: 未找到命令 -bash: logname: 未找到命令
错误原因:配置cmake变量出错导致的
CMAKE_HOME=/home/junfeng.yuan/tools/cmake-3.14.5-Linux-x86_64 export PATH=PATH:CMAKE_HOME/bin
解决办法:修改PATH变量配置,重新拷贝到/etc/profile.d下面
1 CMAKE_HOME=/home/junfeng.yuan/tools/cmake-3.14.5-Linux-x86_64 2 export PATH=$PATH:CMAKE_HOME/bin