This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 66e9635e Fix invalid url of thrift (#2975)
66e9635e is described below
commit 66e9635e915d120d1b73b4bb4523a4f5c9cdc084
Author: Bright Chen <[email protected]>
AuthorDate: Tue May 27 22:21:24 2025 +0800
Fix invalid url of thrift (#2975)
---
docs/cn/thrift.md | 6 +++---
docs/en/thrift.md | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/cn/thrift.md b/docs/cn/thrift.md
index dcae34a5..9e1d4c99 100755
--- a/docs/cn/thrift.md
+++ b/docs/cn/thrift.md
@@ -18,9 +18,9 @@ brpc默认不启用thrift支持也不需要thrift依赖。但如果需用thrift
Linux下安装thrift依赖
先参考[官方wiki](https://thrift.apache.org/docs/install/debian)安装好必备的依赖和工具,然后从[官网](https://thrift.apache.org/download)下载thrift源代码,解压编译。
```bash
-wget https://downloads.apache.org/thrift/0.18.1/thrift-0.18.1.tar.gz
-tar -xf thrift-0.18.1.tar.gz
-cd thrift-0.18.1/
+wget https://downloads.apache.org/thrift/0.22.0/thrift-0.22.0.tar.gz
+tar -xf thrift-0.22.0.tar.gz
+cd thrift-0.22.0/
./bootstrap.sh
./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 --with-rs=no --with-py3=no CXXFLAGS='-Wno-error'
make CPPFLAGS=-DFORCE_BOOST_SMART_PTR -j 4 -s
diff --git a/docs/en/thrift.md b/docs/en/thrift.md
index 94ff551e..d57f654d 100755
--- a/docs/en/thrift.md
+++ b/docs/en/thrift.md
@@ -18,9 +18,9 @@ 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 https://downloads.apache.org/thrift/0.18.1/thrift-0.18.1.tar.gz
-tar -xf thrift-0.18.1.tar.gz
-cd thrift-0.18.1/
+wget https://downloads.apache.org/thrift/0.22.0/thrift-0.22.0.tar.gz
+tar -xf thrift-0.22.0.tar.gz
+cd thrift-0.22.0/
./bootstrap.sh
./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 --with-rs=no --with-py3=no CXXFLAGS='-Wno-error'
make CPPFLAGS=-DFORCE_BOOST_SMART_PTR -j 4 -s
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]