编译安装 Mysql 8.0.17 解决Could not find rpcgen问题
<img width="908" height="221" src="https://www.luyouli.com/wp-content/uploads/2019/07/image-5.png" alt="" class="wp-image-207" srcset="https://www.luyouli.com/wp-content/uploads/2019/07/image-5.png 908w, https://www.luyouli.com/wp-content/uploads/2019/07/image-5-300x73.png 300w, https://www.luyouli.com/wp-content/uploads/2019/07/image-5-768x187.png 768w" sizes="(max-width: 908px) 100vw, 908px" /><figcaption>报错就一句话:Could not find rpcgen</figcaption></figure> <p><a href="https://github.com/thkukuk/rpcsvc-proto/releases">https://github.com/thkukuk/rpcsvc-proto/releases</a></p> <p>最终在github上面找到rpcgen的源码包,然后就开启最最最简单的操作方法</p> <p># wget https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz</p> <p># tar zxvf rpcsvc-proto-1.4.tar.gz</p> <p># cd rpcsvc-proto-1.4/ && ./configure && make && make install</p> <p>再次运行编译命令,就顺利的编译通过了</p>
最终在github上面找到rpcgen的源码包,然后就开启最最最简单的操作方法
[ 61%] Building CXX object rapid/plugin/group_replication/CMakeFiles/gr_unit_test_resource.dir/libmysqlgcs/src/interface/gcs_group_identifier.cc.o
[ 61%] Linking CXX static library libgr_unit_test_resource.a
[ 61%] Built target gr_unit_test_resource
[ 61%] Generating xdr_gen/xcom_vp.h, xdr_gen/xcom_vp_xdr.c, xdr_gen/xcom_vp_platform.h
/bin/sh: rpcgen: command not found
make[2]: *** [rapid/plugin/group_replication/CMakeFiles/group_replication.dir/build.make:82: rapid/plugin/group_replication/xdr_gen/xcom_vp.h] Error 127
make[1]: *** [CMakeFiles/Makefile2:4535: rapid/plugin/group_replication/CMakeFiles/group_replication.dir/all] Error 2
make: *** [Makefile:166: all] Error 2