You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/03/23 00:43:21 UTC
[apisix] branch master updated: docs: modify the make install in how to build Apache APISIX doc (#6627)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 9e19885 docs: modify the make install in how to build Apache APISIX doc (#6627)
9e19885 is described below
commit 9e1988595c7145babfaa9de36030f6540686c866
Author: bin-ya <81...@users.noreply.github.com>
AuthorDate: Wed Mar 23 08:43:17 2022 +0800
docs: modify the make install in how to build Apache APISIX doc (#6627)
---
docs/en/latest/how-to-build.md | 6 +-----
docs/zh/latest/how-to-build.md | 6 +-----
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/docs/en/latest/how-to-build.md b/docs/en/latest/how-to-build.md
index 9437a0b..b151a26 100644
--- a/docs/en/latest/how-to-build.md
+++ b/docs/en/latest/how-to-build.md
@@ -125,8 +125,6 @@ Follow the steps below to install Apache APISIX via the source release package.
cd apisix-${APISIX_VERSION}
# Create dependencies
make deps
- # Install apisix command
- make install
```
**Note**: If you fail to install dependency packages using `make deps` and get an error message like `Could not find header file for LDAP/PCRE/openssl`, you can use this general method to solve problems.
@@ -149,11 +147,9 @@ Follow the steps below to install Apache APISIX via the source release package.
`/opt/homebrew/cellar/openldap/` is default path to install openldap on macOS(Apple Silicon) using brew.
`/usr/local/opt/openldap/` is default path to install openldap on macOS(Intel) using brew.
-5. To uninstall the Apache APISIX runtime, run:
+6. To uninstall the Apache APISIX runtime, run:
```shell
- # Uninstall apisix command
- make uninstall
# Purge dependencies
make undeps
```
diff --git a/docs/zh/latest/how-to-build.md b/docs/zh/latest/how-to-build.md
index 788ee6e..21f2890 100644
--- a/docs/zh/latest/how-to-build.md
+++ b/docs/zh/latest/how-to-build.md
@@ -121,8 +121,6 @@ sudo yum install ./apisix/*.rpm
cd apisix-${APISIX_VERSION}
# 安装依赖
LUAROCKS_SERVER=https://luarocks.cn make deps
- # 安装 apisix 命令
- make install
```
**注意**:使用 `make deps` 安装 `lualdap`、`PCRE`、`openssl` 等依赖包失败,错误信息如: `Could not find header file for LDAP/PCRE/openssl`,可使用本方法解决。
@@ -145,11 +143,9 @@ sudo yum install ./apisix/*.rpm
`/opt/homebrew/cellar/openldap/` 是 `brew` 在 macOS(Apple Silicon) 上安装 `openldap` 的默认位置。
`/usr/local/opt/openldap/` 是 `brew` 在 macOS(Intel) 上安装 `openldap` 的默认位置。
-5. 如果您不再需要 Apache APISIX 运行时,您可以执行卸载,如:
+6. 如果您不再需要 Apache APISIX 运行时,您可以执行卸载,如:
```shell
- # 卸载 apisix 命令
- make uninstall
# 卸载依赖
make undeps
```