-
Notifications
You must be signed in to change notification settings - Fork 855
Description
如题,相同环境下能编译percona和mariadb的tokudb
执行语句如下:
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/alisql
-DMYSQL_DATADIR=/data/mysql/8306/data
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_MEMORY_STORAGE_ENGINE=1
-DWITH_MYISAM_STORAGE_ENGINE=1
-DWITH_TOKUDB_STORAGE_ENGINE=1
-DSYSCONFDIR=/data/mysql/8306
-DWITH_SSL=yes
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
报错如下:
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at scripts/CMakeLists.txt:287 (IF):
if given arguments:
"NOT" "lib" "STREQUAL" "general" "AND" "NOT" "LIBS" "MATCHES" "-lstdc++ "
Regular expression "-lstdc++ " cannot compile
Call Stack (most recent call first):
scripts/CMakeLists.txt:307 (EXTRACT_LINK_LIBRARIES)
-- Configuring incomplete, errors occurred!
cmake version: 2.8.12.2
gcc version: gcc (GCC) 5.2.1 20150902