根本编译不成功 OS 的库文件版本太低 把时间花在这个上面不值当
cmake . -DCMAKE_INSTALL_PREFIX=/home/mysql/mysql -DEXTRA_CHARSETS=all -DENABLE_DOWNLOADS=1 -DWITH_BOOST=/usr/local/boost
-- Running cmake version 2.8.6
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- MySQL 5.6.33-79.0
-- Packaging as: percona-server-5.6.33-79.0-Linux-x86_64
-- HAVE_VISIBILITY_HIDDEN
-- HAVE_VISIBILITY_HIDDEN
-- READLINE_INCLUDE_DIR /usr/include/readline
-- READLINE_LIBRARY /usr/lib64/libreadline.so
-- Using cmake version 2.8.6
-- Not building NDB
-- Not building tokudb-backup-plugin
-- Library perconaserverclient depends on OSLIBS -lpthread;/usr/lib64/libz.so;m;rt;dl
-- Download failed, error: 7;"couldn't connect to server"
-- To enable google test, please download /tupian/20230522/gmock-1.6.0.zip to the directory /home/mysql/percona-server-5.6.33-79.0/source_downloads
-- If you are inside a firewall, you may need to use an http proxy: export http_proxy=http://example.com:80
-- Library mysqlserver depends on OSLIBS -lpthread;/usr/lib64/libz.so;m;rt;crypt;dl
-- CMAKE_BUILD_TYPE: RelWithDebInfo
-- COMPILE_DEFINITIONS: HAVE_CONFIG_H
-- CMAKE_C_FLAGS: -Wall -Wextra -Wformat-security -Wwrite-strings -Wdeclaration-after-statement
-- CMAKE_CXX_FLAGS: -Wall -Wextra -Wformat-security -Woverloaded-virtual -Wno-unused-parameter
-- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
WITH_BOOST
文章名称:centos5.8编译安装perconaserver5.6.33-创新互联
URL网址:
http://kswjz.com/article/ccsedp.html