Skip to content

Commit 66e9635

Browse files
authored
Fix invalid url of thrift (#2975)
1 parent 6ef8b9d commit 66e9635

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/cn/thrift.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ brpc默认不启用thrift支持也不需要thrift依赖。但如果需用thrift
1818
Linux下安装thrift依赖
1919
先参考[官方wiki](https://thrift.apache.org/docs/install/debian)安装好必备的依赖和工具,然后从[官网](https://thrift.apache.org/download)下载thrift源代码,解压编译。
2020
```bash
21-
wget https://downloads.apache.org/thrift/0.18.1/thrift-0.18.1.tar.gz
22-
tar -xf thrift-0.18.1.tar.gz
23-
cd thrift-0.18.1/
21+
wget https://downloads.apache.org/thrift/0.22.0/thrift-0.22.0.tar.gz
22+
tar -xf thrift-0.22.0.tar.gz
23+
cd thrift-0.22.0/
2424
./bootstrap.sh
2525
./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'
2626
make CPPFLAGS=-DFORCE_BOOST_SMART_PTR -j 4 -s

docs/en/thrift.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ brpc does not enable thrift support or depend on the thrift lib by default. If t
1818
Install thrift under Linux
1919
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。
2020
```bash
21-
wget https://downloads.apache.org/thrift/0.18.1/thrift-0.18.1.tar.gz
22-
tar -xf thrift-0.18.1.tar.gz
23-
cd thrift-0.18.1/
21+
wget https://downloads.apache.org/thrift/0.22.0/thrift-0.22.0.tar.gz
22+
tar -xf thrift-0.22.0.tar.gz
23+
cd thrift-0.22.0/
2424
./bootstrap.sh
2525
./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'
2626
make CPPFLAGS=-DFORCE_BOOST_SMART_PTR -j 4 -s

0 commit comments

Comments
 (0)