Heim  >  Artikel  >  Datenbank  >  mysql-cmake编译MySQL时报错:the source directory "xxx" does not exist 怎么解决啊

mysql-cmake编译MySQL时报错:the source directory "xxx" does not exist 怎么解决啊

WBOY
WBOYOriginal
2016-06-06 09:45:044909Durchsuche

mysql安装失败cmake安装

系统ubuntu 13.04 \ gcc version 4.7.3 \ cmake version 2.8.10.1

安装完cmake后,在mysql解压缩目录下,使用如下命令行:
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DMYSQL_DATADIR=/data/mysql \
-DSYSCONFDIR=/etc \
-DWITH_MYISAM_STORAGE_ENGINE=1 \

-DWITH_INNOBASE_STORAGE_ENGINE=1 \

-DWITH_MEMORY_STORAGE_ENGINE=1 \

-DWITH_READLINE=1 \
-DMYSQL_UNIX_ADDR=/tmp/mysqld.sock \

-DMYSQL_TCP_PORT=3306 \
-DENABLED_LOCAL_INFILE=1 \

-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_EXTRA_CHARSETS:STRING=utf8,gbk \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \

报错,提示cake error:the source directory “/usr/local/src/software/mysql-5.6.11/DDEFAULT_COLLATION=utf8_general_ci” does not exist.

怎么回事啊?删掉最后一行,又会报倒数第二行找不到目录!

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn