boost_1_59_0,mysql-5.7.9,之后安装此文章的描述,https://blog.linuxeye.com/432.html 准备用CMAKE 编译安装 MYSQL
但屡次报,此参数 -DWITH_BOOST=/backup/mysql//boost_1_59_0 \ 指定的目录 /backup/mysql ,
其实上面的文章是这样写的: -DWITH_BOOST=../boost_1_59_0 \
因为报上述错误,所以我改成绝对路径,但依旧报此错误,,,不知道是不是权限问题?
[root@orcltest /backup/mysql]
#ls -lrt
total 812500
drwx------ 8 mysql games 4096 Aug 12 06:05 boost_1_59_0
drwxr-xr-x 34 7161 wheel 4096 Oct 12 14:21 mysql-5.7.9
-rw-r--r-- 1 root root 470353920 Nov 29 22:47 boost_1_59_0.tar
-rw-r--r-- 1 root root 360806400 Nov 29 22:48 mysql-5.7.9.tar
[root@orcltest /backup/mysql]
#cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
> -DMYSQL_DATADIR=/app/mysql \
> -DDOWNLOAD_BOOST=1 \
CMake Error: The source directory "/backup/mysql/ " does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
[root@orcltest /backup/mysql]
#-DWITH_BOOST=/backup/mysql//boost_1_59_0 \
> -DSYSCONFDIR=/etc \
> -DWITH_INNOBASE_STORAGE_ENGINE=1 \
> -DWITH_PARTITION_STORAGE_ENGINE=1 \
> -DWITH_FEDERATED_STORAGE_ENGINE=1 \
> -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
> -DWITH_MYISAM_STORAGE_ENGINE=1 \
> -DENABLED_LOCAL_INFILE=1 \
> -DENABLE_DTRACE=0 \
> -DDEFAULT_CHARSET=utf8mb4 \
> -DDEFAULT_COLLATION=utf8mb4_general_ci \
> -DWITH_EMBEDDED_SERVER=1
-bash: -DWITH_BOOST=/backup/mysql//boost_1_59_0: No such file or directory
[root@orcltest /backup/mysql]
#
1 个解决方案
#1
TELL ME WHY,
#1
TELL ME WHY,