mysql8.0编译报错/usr/bin/cc is not a full path to an existing compiler tool.
报错截图
The CMAKE_C_COMPILER:
/usr/bin/cc
is not a full path to an existing compiler tool.
错误原因:
/usr/bin/没有gcc编译器的软连接cc和c++
解决方案:
[root@mysql_8 mysql-8.0.20]# ln -s /usr/local/bin/gcc /usr/bin/cc
[root@mysql_8 mysql-8.0.20]# ln -s /usr/local/bin/g++ /usr/bin/c++
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。