When I compiled Percona Server 5.6.19 with tokudb as a plugin,it failed.
The following is details:
[root@dev percona-server-5.6.19-67.0]# cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DCMAKE_INSTALL_PREFIX=/usr/local/percona-server-5.6 -DIGNORE_AIO_CHECK=ON
– Running cmake version 2.8.12.2
– The C compiler identification is GNU 4.4.7
– The CXX compiler identification is GNU 4.4.7
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– MySQL 5.6.19-67.0
– Packaging as: mysql-5.6.19-67.0-Linux-x86_64
– Looking for pthread_create
– Looking for pthread_create - not found
– Found Threads: TRUE
– HAVE_VISIBILITY_HIDDEN
– HAVE_VISIBILITY_HIDDEN
– HAVE_VISIBILITY_HIDDEN
– Found Curses: /usr/lib64/libcurses.so
– Performing Test TOKUDB_OK
– Performing Test TOKUDB_OK - Failed
– Using cmake version 2.8.12.2
– Not building NDB
– Library perconaserverclient depends on OSLIBS -lpthread;m;rt;dl
– Library mysqlserver depends on OSLIBS -lpthread;m;rt;crypt;dl;aio
– Configuring done
– Generating done
– Build files have been written to: /root/percona-server-5.6.19-67.0
[root@dev percona-server-5.6.19-67.0]# grep -r ‘TOKUDB_OK’ ./*
./CMakeCache.txt://Test TOKUDB_OK
./CMakeCache.txt:TOKUDB_OK:INTERNAL=
./CMakeFiles/CMakeError.log:Performing C++ SOURCE FILE Test TOKUDB_OK failed with the following output:
./CMakeFiles/CMakeError.log:/usr/bin/c++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Wall -Wno-unused-parameter -DTOKUDB_OK -o CMakeFiles/cmTryCompileExec3634241756.dir/src.cxx.o -c /root/percona-server-5.6.19-67.0/CMakeFiles/CMakeTmp/src.cxx
./storage/tokudb/CMakeLists.txt:" TOKUDB_OK)
./storage/tokudb/CMakeLists.txt:IF(NOT TOKUDB_OK)
Could someone help ?