- 論壇徽章:
- 1
|
編譯語(yǔ)句:
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
編譯的末尾提示的問(wèn)題...很奇怪..
-- 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!
提示有問(wèn)題:但有沒(méi)說(shuō)問(wèn)題在哪..到底是哪個(gè)庫(kù)函數(shù)沒(méi)找到???
CMake Error at cmake/readline.cmake:271 這個(gè)271 是指編譯打印出來(lái)的行數(shù)吧?
-- Looking for compress
-- Looking for compress - not found
271行差不多就是這個(gè)...compress 怎么整出來(lái)的?
CMakeLists.txt:417 是指CMakeLists.txt的417行曬,也沒(méi)啥內(nèi)容.
QQ圖片20150610165154.png (24.05 KB, 下載次數(shù): 37)
下載附件
2015-06-10 16:52 上傳
|
|