# cmake -D CMAKE_BUILD_TYPE=Release -D TOKU_DEBUG_PARANOID=OFF -D USE_VALGRIND=OFF -D USE_BDB=OFF -D BUILD_TESTING=OFF -D TOKUMX_DISTNAME=2.0.0-2 ..
-- The C compiler identification is GNU 4.1.2
-- The CXX compiler identification is GNU 4.7.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/local/share/cmake-3.1/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/tokumx/mongo/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTryCompileExec1013210013/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec1013210013.dir/build.make
CMakeFiles/cmTryCompileExec1013210013.dir/build
gmake[1]: Entering directory
`/home/tokumx/mongo/build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report
/home/tokumx/mongo/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object
CMakeFiles/cmTryCompileExec1013210013.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o
CMakeFiles/cmTryCompileExec1013210013.dir/testCXXCompiler.cxx.o -c
/home/tokumx/mongo/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec1013210013
/usr/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1013210013.dir/link.txt --verbose=1
/usr/bin/c++
CMakeFiles/cmTryCompileExec1013210013.dir/testCXXCompiler.cxx.o -o
cmTryCompileExec1013210013 -rdynamic
ld: crtbegin.o: No such file: No such file or directory
gmake[1]: *** [cmTryCompileExec1013210013] Error 1
gmake[1]: Leaving directory
`/home/tokumx/mongo/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec1013210013/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "/home/tokumx/mongo/build/CMakeFiles/CMakeOutput.log".
See also "/home/tokumx/mongo/build/CMakeFiles/CMakeError.log".