-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/bcc
-- Check for working CXX compiler: /usr/bin/bcc -- broken
CMake Error at /usr/local/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/bcc" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/udbuser/mysql-5.6.27/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_0a857/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_0a857.dir/build.make
CMakeFiles/cmTC_0a857.dir/build
gmake[1]: Entering directory
`/home/udbuser/mysql-5.6.27/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0a857.dir/testCXXCompiler.cxx.o
/usr/bin/bcc -o CMakeFiles/cmTC_0a857.dir/testCXXCompiler.cxx.o -c
/home/udbuser/mysql-5.6.27/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_0a857
/usr/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_0a857.dir/link.txt --verbose=1
/usr/bin/bcc CMakeFiles/cmTC_0a857.dir/testCXXCompiler.cxx.o -o cmTC_0a857
ld86: cannot open input file
CMakeFiles/cmTC_0a857.dir/testCXXCompiler.cxx.o
gmake[1]: *** [cmTC_0a857] Error 1
gmake[1]: Leaving directory
`/home/udbuser/mysql-5.6.27/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_0a857/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:111 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/home/udbuser/mysql-5.6.27/CMakeFiles/CMakeOutput.log".
See also "/home/udbuser/mysql-5.6.27/CMakeFiles/CMakeError.log".
4 个解决方案
#1
源码编译的吗?看看是不是差c++
#2
mysql-5.5以后要使用cmake而不是./configure
#3
感谢 @cqyy725 真的是缺少C++
#4
感谢@cqyy725 @我是红帽子 二位的解答
#1
源码编译的吗?看看是不是差c++
#2
mysql-5.5以后要使用cmake而不是./configure
#3
感谢 @cqyy725 真的是缺少C++
#4
感谢@cqyy725 @我是红帽子 二位的解答