直接从github上clone之后
按照如下文档时 因为github真的是太慢太慢了 git那一步下载依赖的时候一直下不下来
用了autogen.sh之后去configure然后make然后make check就一直失败 因为googletest包下不下来
后来自己本地去github下载googletes放到protobuf下的googletest里还是不行 因为googletest里面没有
configure文件 其实googletest是可以make安装的 但是没有configure protobuf就还是一直make check失败
然后我自己有在googetest里面搞出来了configure文件 但是还是gg 我就真的…
$ git submodule update --init --recursive
$ ./autogen.sh
最后还不如直接一劳永逸下载release的all.zip直接按照文档安装完事 autogen.sh 然后xxxxxx 完全没问题
安装过程发现需要automake和libtool