This is an automated email from the ASF dual-hosted git repository. wutao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pegasus-website.git
commit 4aaecaee26b6628502730b68b3de8c21ec9ec04b Author: neverchanje <[email protected]> AuthorDate: Tue Jan 5 00:45:36 2021 +0800 fix: update 1.10.0 building --- _docs/zh/1.10.0/compile-by-docker.md | 6 ++++-- _docs/zh/1.10.0/compile-from-source.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/_docs/zh/1.10.0/compile-by-docker.md b/_docs/zh/1.10.0/compile-by-docker.md index 5716054..65355ef 100644 --- a/_docs/zh/1.10.0/compile-by-docker.md +++ b/_docs/zh/1.10.0/compile-by-docker.md @@ -17,13 +17,15 @@ docker pull apachepegasus/build-env:{{ page.version }}-ubuntu1604 请先参考[下载文档](/docs/downloads)获取源码到某目录(`/your/local/apache-pegasus-source`)下。 -由于历史原因,此版本需要额外下载第三方库源码包: +由于历史原因,此版本需要额外下载第三方库源码包,同时还需略过安装 redis-proxy: ```sh cd /your/local/apache-pegasus-source/rdsn/thirdparty - wget https://pegasus-thirdparties.oss-cn-beijing.aliyuncs.com/1.10.0-thirdparties-src.zip unzip 1.10.0-thirdparties-src.zip + +cd ../.. +sed -i /"add_subdirectory(redis_protocol)"/d src/CMakeLists.txt ``` 随后运行以下命令: diff --git a/_docs/zh/1.10.0/compile-from-source.md b/_docs/zh/1.10.0/compile-from-source.md index 58e936a..7e6aaf3 100755 --- a/_docs/zh/1.10.0/compile-from-source.md +++ b/_docs/zh/1.10.0/compile-from-source.md @@ -22,13 +22,15 @@ Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问 请先参考[下载文档](/docs/downloads)获取源码。 -由于历史原因,此版本需要额外下载第三方库源码包: +由于历史原因,此版本需要额外下载第三方库源码包,同时还需略过安装 redis-proxy: ```sh cd /your/local/apache-pegasus-source/rdsn/thirdparty - wget https://pegasus-thirdparties.oss-cn-beijing.aliyuncs.com/1.10.0-thirdparties-src.zip unzip 1.10.0-thirdparties-src.zip + +cd ../.. +sed -i /"add_subdirectory(redis_protocol)"/d src/CMakeLists.txt ``` 随后运行编译: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
