[MySQL] CMake Error: Internal CMake error, TryCompile configure of cmake failed
I’ll introduce the solution when a cmake error occurs while installing MySQL from source code on CentOS 6.3.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_PEERCRED - Failed
Warning: Bison executable not found in PATH
-- Configuring incomplete, errors occurred!
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
This was resolved by installing gcc-c++.
# yum -y install gcc-c++
Warning: Bison executable not found in PATH
This was resolved by installing Bison.
# yum -y install bison
That’s all from the Gemba.