在Centos8系统编译Mysql5.7.24时报错,报错内容如下:

CentOS8.0编译MySQL5.7报错Could not find rpcgen:

CMake Error at rapid/plugin/group_replication/rpcgen.cmake:93 (MESSAGE):
  Could not find rpcgen
Call Stack (most recent call first):
  rapid/plugin/group_replication/CMakeLists.txt:29 (INCLUDE)

提示找不到rpcgen,yum源中也没有这个包,解决办法:

wget https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz
tar xf rpcsvc-proto-1.4.tar.gz
cd rpcsvc-proto-1.4
./configure
make
make install

Leave a comment

您的电子邮箱地址不会被公开。 必填项已用*标注