为了账号安全,请及时绑定邮箱和手机立即绑定

centos 编译安装mysql 报错如下,该如何解决呢

centos 编译安装mysql 报错如下,该如何解决呢

qq_Care在意_0 2017-06-25 08:23:30
[root@bogon mysql-5.7.17]# make [  0%] Built target INFO_BIN[  0%] Built target INFO_SRC[  0%] Built target abi_check[  0%] Built target zlib[  1%] Built target yassl[  2%] Built target taocrypt[  4%] Built target edit[  7%] Built target strings[ 11%] Built target mysys[ 11%] Built target dbug[ 12%] Built target mysys_ssl[ 12%] Built target comp_err[ 12%] Built target GenError[ 12%] Built target archive[ 12%] Built target archive_embedded[ 12%] Built target csv[ 12%] Built target csv_embedded[ 13%] Built target heap[ 14%] Built target heap_embedded[ 14%] Built target hp_test1[ 14%] Built target hp_test2[ 20%] Built target perfschema[ 20%] Built target mytap[ 21%] Built target pfs_server_stubs[ 21%] Built target pfs-t[ 21%] Built target pfs_account-oom-t[ 21%] Built target comp_sql[ 22%] Built target GenSysSchema[ 22%] Built target partition[ 23%] Built target myisammrg[ 23%] Built target federated[ 23%] Built target blackhole[ 23%] Built target lz4_lib[ 30%] Built target innobase[ 33%] Built target myisam[ 33%] Built target ngram_parser[ 33%] Built target vio[ 33%] Built target regex[ 33%] Built target binlogevents_static[ 33%] Built target gen_lex_hash[ 33%] Built target GenServerSource[ 33%] Built target gen_lex_token[ 33%] Built target GenDigestServerSource[ 33%] Built target GenBootstrapPriv[ 44%] Built target sql[ 44%] Built target rpl[ 44%] Built target master[ 45%] Built target binlog[ 46%] Built target slaveLinking CXX executable pfs_connect_attr-tcollect2: ld 返回 1make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t] 错误 1make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] 错误 2make: *** [all] 错误 2
查看完整描述

1 回答

?
Nameless13

TA贡献11条经验 获得超12个赞

cmake去掉-DWITH_PARTITION_STORAGE_ENGINE=1参数重新编译

查看完整回答
1 反对 回复 2017-06-26
  • 1 回答
  • 0 关注
  • 3765 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信