mysql 在linux下安裝錯誤的問題

[root@mail fangwei]# cd mysql-connector-c-6.0.2-linux-sles10-x86-64bit
mysql


[root@mail mysql-connector-c-6.0.2-linux-sles10-x86-64bit]# cmake -DCMAKE_INSTALL_PREFIX=/opt/mysql/ -DMYSQL_DATADIR=/opt/mysql/data -DMYSQL_UNIX_ADDR=/opt/mysql/data/mysqld.sock -DWITH_INNOBASE_STORAGE_ENGINE=1 -DENABLED_LOCAL_INFILE=1 -DMYSQL_TCP_PORT=3306 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DMYSQL_UNIX_ADDR=/opt/mysql/data/mysql.sock -DMYSQL_USER=mysql -DWITH_DEBUG=0
CMake Error: The source directory "/root/fangwei/mysql-connector-c-6.0.2-linux-sles10-x86-64bit" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

linux


[root@mail mysql-connector-c-6.0.2-linux-sles10-x86-64bit]# c++


在linux下安裝mysql6.0.2的時候報錯,網上搜了一下解決方法有的說要打:先打底層包:
yum -y install  gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel* make cmake bison
yum -y install bisonsql

我按照這個方法也打了底層包,依然出錯!
app

相關文章
相關標籤/搜索