[Email protected] fangwei]# CD Mysql-connector-c-6.0.2-linux-sles10-x86-64bit
[Email protected] 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.
[Email protected] mysql-connector-c-6.0.2-linux-sles10-x86-64bit]#
Install mysql6.0.2 in Linux when the error, the online search for a solution some said to hit: first hit the bottom package:
Yum-y install gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel* Mak E CMake Bison
Yum-y Install Bison
I followed this method also hit the bottom bag, still wrong!
This article is from "Ghost" blog, please make sure to keep this source http://caizi.blog.51cto.com/5234706/1543357