Linux管理

推荐列表 站点导航

当前位置:首页 > 服务器技术 > Linux管理 >

在linux中编译grpc

来源:互联网  作者:网友投稿  发布时间:2021-01-06 06:04
环境: centos_7_x86_x64 一、下载 1)下载grpc源代码 grpc-1.2.0.zip(https://github.com/grpc/grpc/archive/v1.2.0.zip) 2)下载grpc依赖库...

与库名一一对应。

其他版本可能都不兼容, 二、安装 #安装gcc和g++ yum install -y gcc gcc-c++ #安装automake yum install -y automake libtool libsysfs-dev 三、编译 修改grpc-1.2.0/Makefile文件(主要是LIBBORINGSSL_SRC变量), , 将依赖库解压至third_party下的子目录内, 1)下载grpc源代码 grpc-1.2.0.zip(https://github.com/grpc/grpc/archive/v1.2.0.zip) 2)下载grpc依赖库: 1)benchmark-master.zip(https://github.com/google/benchmark/archive/master.zip) 2)boringssl-2924.tar.gz(https://boringssl.googlesource.com/boringssl/+archive/2924.tar.gz) 3)gflags-master.zip(https://github.com/gflags/gflags/archive/master.zip) 4)googletest-master.zip(https://github.com/google/googletest/archive/master.zip) 5)protobuf-master.zip(https://github.com/google/protobuf/archive/master.zip) 6)thrift-master.zip(https://github.com/apache/thrift/archive/master.zip) 7)zlib-master.zip(https://github.com/madler/zlib/archive/master.zip) 注意必须使用boringssl库必须使用boringssl-2924.tar.gz这个版本,即可编译成功,增加一行内容: 然后使用make命令,最后的目录大致如图所示,。

相关热词:

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/server/guanli/11362.shtml

相关文章
Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

在linux中编译grpc

2021-01-06 编辑:网友投稿

与库名一一对应。

其他版本可能都不兼容, 二、安装 #安装gcc和g++ yum install -y gcc gcc-c++ #安装automake yum install -y automake libtool libsysfs-dev 三、编译 修改grpc-1.2.0/Makefile文件(主要是LIBBORINGSSL_SRC变量), , 将依赖库解压至third_party下的子目录内, 1)下载grpc源代码 grpc-1.2.0.zip(https://github.com/grpc/grpc/archive/v1.2.0.zip) 2)下载grpc依赖库: 1)benchmark-master.zip(https://github.com/google/benchmark/archive/master.zip) 2)boringssl-2924.tar.gz(https://boringssl.googlesource.com/boringssl/+archive/2924.tar.gz) 3)gflags-master.zip(https://github.com/gflags/gflags/archive/master.zip) 4)googletest-master.zip(https://github.com/google/googletest/archive/master.zip) 5)protobuf-master.zip(https://github.com/google/protobuf/archive/master.zip) 6)thrift-master.zip(https://github.com/apache/thrift/archive/master.zip) 7)zlib-master.zip(https://github.com/madler/zlib/archive/master.zip) 注意必须使用boringssl库必须使用boringssl-2924.tar.gz这个版本,即可编译成功,增加一行内容: 然后使用make命令,最后的目录大致如图所示,。

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/server/guanli/11362.shtml

相关文章

风云图片

推荐阅读

返回Linux管理频道首页