openEuler系统下编译MySQL过程中,执行CMake命令时提示如下信息:
CMake Error at plugin/group_replication/libmysqlgcs/rpcgen.cmake:100 (MESSAGE): Could not find rpcgen
缺失rpcsvc导致的问题,安装rpcsvc即可。rpcgen是一个生成RPC协议的代码的工具,而rpcsvc是rpcgen所需要的软件包之一。
wget https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz
tar -zxvf rpcsvc-proto-1.4.tar.gz
./configure && make && make install