"Could not find rpcgen" Displayed After CMake Is Executed During MySQL Compilation on openEuler
Symptom
During MySQL compilation on openEuler, the following information is displayed when the CMake command is executed:
CMake Error at plugin/group_replication/libmysqlgcs/rpcgen.cmake:100 (MESSAGE): Could not find rpcgen
Key Process and Cause Analysis
rpcsvc is missing. It is one of the software packages required by rpcgen, a tool for generating RPC protocol code.
Conclusion and Solution
- Download the rpcsvc installation package.
wget https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz
- Decompress the installation package.
tar -zxvf rpcsvc-proto-1.4.tar.gz
- Compile and install rpcsvc.
./configure && make && make install
- Run the CMake command again.
Parent topic: Troubleshooting