本文档记录了在远程服务器 Tesla K80 Redhat 系统上安装 Protobuf 的过程
我从这里 下了 protobuf-3.2.0.tar.gz。
# tar zxvf protobuf-3.2.0.tar.tgz
# cd protobuf-3.2.0/
# ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
......................
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/gtest-config
config.status: creating build-aux/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
# make
make all-recursive
......................
make[2]: ***[google/protobuf/any.pb.lo] Error 1
make[2]: Leaving directory '/root/K80/protobuf-3.2.0/src'
make[1]: ***[all-recursive] Error 1
make[1]: Leaving directory '/root/K80/protobuf-3.2.0'
make: *** [all] Error 2
上网查了一下,有人

本文档详细记录了在Redhat系统特别是Tesla K80上安装Protobuf 3.2.0的过程,包括需要安装autoreconf、automake和libtool这三个依赖,并解决了autogen.sh运行时遇到的google bug,通过手动修改metadata.h文件来完成安装。

1928

被折叠的 条评论
为什么被折叠?



