VPS侦探论坛

 找回密码
 注册
查看: 3600|回复: 3

编译mysql8失败

[复制链接]
发表于 2019-2-7 17:23:19 | 显示全部楼层 |阅读模式

系统为centos7 x64,使用lnmp1.6安装。编译mysql8.0.13时候失败。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-2-8 19:43:15 | 显示全部楼层


-- PROTOBUF_VERSION_NUMBER is
-- PROTOBUF_INCLUDE_DIR /root/lnmp1.6/src/mysql-8.0.13/extra/protobuf/protobuf-2.6.1/src
-- PROTOBUF_LIBRARY protobuf
-- PROTOBUF_PROTOC_EXECUTABLE protoc
-- Could not find (the correct version of) protobuf.
-- MySQL currently requires at least protobuf version 2.5
CMake Error at cmake/protobuf.cmake:42 (MESSAGE):
  You can build with the bundled sources
Call Stack (most recent call first):
  cmake/protobuf.cmake:120 (COULD_NOT_FIND_PROTOBUF)
  CMakeLists.txt:924 (MYSQL_CHECK_PROTOBUF)

按错误信息是protobuf没找到,我们这边的系统按你的安装参数测试没有该问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-2-8 20:14:34 | 显示全部楼层

回复 2# 的帖子


感谢!
我这边解决了。
重新下载mysql8.0.13.tar.gz解决问题。貌似是里面默认下载地址网络存在波动,下载下来的压缩包损坏。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-2-8 20:46:05 | 显示全部楼层



-- PROTOBUF_VERSION_NUMBER is
-- PROTOBUF_INCLUDE_DIR /root/lnmp1.6/src/mysql-8.0.13/extra/protobuf/protobuf-2.6.1/src
-- PROTOBUF_LIBRARY protobuf
-- PROTOBUF_PROTOC_EXECUTABLE protoc
-- Could not find (the correct version of) protobuf.
-- MySQL currently requires at least protobuf version 2.5
CMake Error at cmake/protobuf.cmake:42 (MESSAGE):
  You can build with the bundled sources
Call Stack (most recent call first):
  cmake/protobuf.cmake:120 (COULD_NOT_FIND_PROTOBUF)
  CMakeLists.txt:924 (MYSQL_CHECK_PROTOBUF)

按错误信息看是protobuf没有找到
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-4-28 10:05 , Processed in 0.027148 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表