centos7下编译mariadb出错

dawnon 发布于 2015/05/27 20:00
阅读 465
收藏 0

cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/usr/local/mysql/data -DWITH_SSL=system -DWITH_EXTRA_CHARSETS=all -DWITH_ZLIB=system

之后提示:

-- Performing Test HAVE_PEERCRED - Success
CMake Warning (dev) at libmysql/CMakeLists.txt:381 (CONFIGURE_FILE):
  configure_file called with unknown argument(s):

   @ONLY @

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for event.h
-- Looking for event.h - not found
-- Configuring incomplete, errors occurred!

在381行找到的内容是:

    CONFIGURE_FILE(
    382     ${VERSION_SCRIPT_TEMPLATE}
    383     ${CMAKE_CURRENT_BINARY_DIR}/libmysql_versions.ld
    384     @ONLY @
    385   )


cmake .后没有生成makefile.

请问是什么问题?

加载中
0
Feng_Yu
Feng_Yu
软件仓库不就自带么,为何还要自己编译?
0
Jasper
Jasper
@ONLY只是一个Warning啊,应该是缺少libevent。
返回顶部
顶部