编译mysql8失败
系统为centos7 x64,使用lnmp1.6安装。编译mysql8.0.13时候失败。 -- 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没找到,我们这边的系统按你的安装参数测试没有该问题
回复 2# 的帖子
感谢!我这边解决了。
重新下载mysql8.0.13.tar.gz解决问题。貌似是里面默认下载地址网络存在波动,下载下来的压缩包损坏。 -- 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没有找到
页:
[1]