This is an automated email from the ASF dual-hosted git repository. jiashunzhu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push: new 2239e72 Fix apache thrift download failed new d37a553 Merge pull request #1495 from wwbmmm/fix-apache-thrift-download 2239e72 is described below commit 2239e7282e20f78743531801bade13f442a971f2 Author: wangweibing <wangweib...@baidu.com> AuthorDate: Fri Jul 23 11:49:50 2021 +0000 Fix apache thrift download failed --- .travis.yml | 2 +- docs/cn/thrift.md | 2 +- docs/en/thrift.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 234a971..07e8536 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ before_script: before_install: - wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.25.1/bazel_0.25.1-linux-x86_64.deb && sudo dpkg -i bazel_0.25.1-linux-x86_64.deb - sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config # thrift dependencies -- wget http://www.us.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz && tar -xf thrift-0.11.0.tar.gz && cd thrift-0.11.0/ && ./configure --prefix=/usr --with-rs=no --with-ruby=no --with-python=no --with-java=no --with-go=no --with-perl=no --with-php=no --with-csharp=no --with-erlang=no --with-lua=no --with-nodejs=no CXXFLAGS="-Wno-unused-variable" && make -j4 && sudo make install && cd - +- wget http://www.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz && tar -xf thrift-0.11.0.tar.gz && cd thrift-0.11.0/ && ./configure --prefix=/usr --with-rs=no --with-ruby=no --with-python=no --with-java=no --with-go=no --with-perl=no --with-php=no --with-csharp=no --with-erlang=no --with-lua=no --with-nodejs=no CXXFLAGS="-Wno-unused-variable" && make -j4 && sudo make install && cd - install: - sudo apt-get install -qq realpath libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev libgoogle-perftools-dev libboost-dev libssl-dev libevent-dev libboost-test-dev libgoogle-glog-dev diff --git a/docs/cn/thrift.md b/docs/cn/thrift.md index b237ac2..957cea5 100755 --- a/docs/cn/thrift.md +++ b/docs/cn/thrift.md @@ -18,7 +18,7 @@ brpc默认不启用thrift支持也不需要thrift依赖。但如果需用thrift Linux下安装thrift依赖 先参考[官方wiki](https://thrift.apache.org/docs/install/debian)安装好必备的依赖和工具,然后从[官网](https://thrift.apache.org/download)下载thrift源代码,解压编译。 ```bash -wget http://www.us.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz +wget http://www.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz tar -xf thrift-0.11.0.tar.gz cd thrift-0.11.0/ ./configure --prefix=/usr --with-ruby=no --with-python=no --with-java=no --with-go=no --with-perl=no --with-php=no --with-csharp=no --with-erlang=no --with-lua=no --with-nodejs=no diff --git a/docs/en/thrift.md b/docs/en/thrift.md index da8b6fd..8801f14 100755 --- a/docs/en/thrift.md +++ b/docs/en/thrift.md @@ -18,7 +18,7 @@ brpc does not enable thrift support or depend on the thrift lib by default. If t Install thrift under Linux Read [Official wiki](https://thrift.apache.org/docs/install/debian) to install depended libs and tools, then download thrift source code from [official site](https://thrift.apache.org/download), uncompress and compile。 ```bash -wget http://www.us.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz +wget http://www.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz tar -xf thrift-0.11.0.tar.gz cd thrift-0.11.0/ ./configure --prefix=/usr --with-ruby=no --with-python=no --with-java=no --with-go=no --with-perl=no --with-php=no --with-csharp=no --with-erlang=no --with-lua=no --with-nodejs=no --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org