51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

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

在Centos8系统编译mysql5.7.27时报错,报错内容如下:
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)

|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 | 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

|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 5 6 | 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 |

再次尝试编译即可解决

赞(0)
未经允许不得转载:工具盒子 » CentOS8.0编译MySQL5.7报错Could not find rpcgen