- 论坛徽章:
- 1
|
编译语句:
cmake -DCMAKE_INSTALL_PREFIX=/opt/mysql/ -DMYSQL_DATADIR=/opt/mysql/data -DSYSCONFDIR=/opt/mysql -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 -DWITH_PARTITION_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR=/tmp/mysqld3306.sock -DMYSQL_TCP_PORT=3306 -DENABLED_LOCAL_INFILE=1 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DMYSQL_USER=mysql
编译的末尾提示的问题...很奇怪..
-- Found Curses: /usr/lib64/libcurses.so
-- Looking for tputs in /usr/lib64/libcurses.so
-- Looking for tputs in /usr/lib64/libcurses.so - found
-- Looking for 3 include files stdio.h, ..., readline/history.h
-- Looking for 3 include files stdio.h, ..., readline/history.h - not found.
-- READLINE_INCLUDE_DIR READLINE_INCLUDE_DIR-NOTFOUND
-- READLINE_LIBRARY READLINE_LIBRARY-NOTFOUND
CMake Error at cmake/readline.cmake:271 (MESSAGE):
Cannot find system readline libraries.
Call Stack (most recent call first):
CMakeLists.txt:417 (MYSQL_CHECK_EDITLINE)
-- Configuring incomplete, errors occurred!
提示有问题:但有没说问题在哪..到底是哪个库函数没找到???
CMake Error at cmake/readline.cmake:271 这个271 是指编译打印出来的行数吧?
-- Looking for compress
-- Looking for compress - not found
271行差不多就是这个...compress 怎么整出来的?
CMakeLists.txt:417 是指CMakeLists.txt的417行晒,也没啥内容.
|
|