cmake那一步报错了
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found
Centos6下安装美团开源SQL优化工具SQLAdvisor https://aqzt.com/5383.html
yum install gcc gcc-c++ -y 就可以了
我的cmake也报错。。 CMake Error at cmake/build_configurations/mysql_release.cmake:46 (MESSAGE):
aio is required on Linux, you need to install the required library:
Debian/Ubuntu: apt-get install libaio-dev
RedHat/Fedora/Oracle Linux: yum install libaio-devel
SuSE: zypper install libaio-devel
If you really do not want it, pass -DIGNORE_AIO_CHECK to cmake.
Call Stack (most recent call first): CMakeLists.txt:131 (INCLUDE)
-- Configuring incomplete, errors occurred! See also "/home/jin/myfile/project/SQLAdvisor/CMakeFiles/CMakeOutput.log". See also "/home/jin/myfile/project/SQLAdvisor/CMakeFiles/CMakeError.log".
我的cmake也报错。。 CMake Error at cmake/build_configurations/mysql_release.cmake:46 (MESSAGE):
aio is required on Linux, you need to install the required library: Debian/Ubuntu: apt-get install libaio-dev RedHat/Fedora/Oracle Linux: yum install libaio-devel SuSE: zypper install libaio-devel If you really do not want it, pass -DIGNORE_AIO_CHECK to cmake.Call Stack (most recent call first): CMakeLists.txt:131 (INCLUDE)
-- Configuring incomplete, errors occurred! See also "/home/jin/myfile/project/SQLAdvisor/CMakeFiles/CMakeOutput.log". See also "/home/jin/myfile/project/SQLAdvisor/CMakeFiles/CMakeError.log".
我已经执行了 yum install libaio-devel -y,确认已经安装成功,还是会报这个错。
我的cmake也报错。。 CMake Error at cmake/build_configurations/mysql_release.cmake:46 (MESSAGE):
aio is required on Linux, you need to install the required library: Debian/Ubuntu: apt-get install libaio-dev RedHat/Fedora/Oracle Linux: yum install libaio-devel SuSE: zypper install libaio-devel If you really do not want it, pass -DIGNORE_AIO_CHECK to cmake.Call Stack (most recent call first): CMakeLists.txt:131 (INCLUDE) -- Configuring incomplete, errors occurred! See also "/home/jin/myfile/project/SQLAdvisor/CMakeFiles/CMakeOutput.log". See also "/home/jin/myfile/project/SQLAdvisor/CMakeFiles/CMakeError.log".
我已经执行了
yum install libaio-devel -y,确认已经安装成功,还是会报这个错。
添加 -DIGNORE_AIO_CHECK=true 跳过 aio 验证,编译出来的文件使用正常。