inception cenOS 安装

inception手册http://mysql-inception.github.io/inception-document/install/

执行命令sh inception_build.sh,centOS安装不成功

下载zip文件

#wget https://github.com/mysql-inception/inception/archive/master.zip

安装依赖

#yum install -y gcc gcc-c++ make ncurses-devel bison openssl-devel zlib-devel cmake

#unzip inception-master

#cd inception-master

#cmake -DWITH_DEBUG=OFF -DCMAKE_INSTALL_PREFIX=/usr/local/inception -DMYSQL_DATADIR=/data/inception -DWITH_SSL=yes -DCMAKE_BUILD_TYPE=RELEASE-DWITH_ZLIB=bundled-DMY_MAINTAINER_CXX_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Wno-unused-parameter -Woverloaded-virtual" -DMY_MAINTAINER_C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement"

#make && make install

/usr/local/inception:程序安装目录

/data/inception:数据/日志目录(查询日志,socket文件等)

出现以下错误时:

-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:82 (MESSAGE):
  Curses library not found.  Please install appropriate package,

      remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (most recent call first):
  cmake/readline.cmake:126 (FIND_CURSES)
  cmake/readline.cmake:216 (MYSQL_USE_BUNDLED_LIBEDIT)
  CMakeLists.txt:250 (MYSQL_CHECK_READLINE)

#rm –r CMakeCache.txt

上一篇:破产姐妹第一季/全集2 Broke Girls迅雷下载


下一篇:Eclipse+Resin开发环境迁移中发生的一些问题