api7 / api7/lua-resty-ldap

apisix的3.3.0版本源码安装因ldap导致错误

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Terra
Stars
10
Forks
10
PR merge metrics
No merged PRs in 30d

Description

apisix 源码安装是 make deps出错,感觉apisix的安装成本越来越大了,辛苦简化一下,谢谢:

lua-resty-ldap 0.2.2-0 depends on lpeg 1.0.2-1 (1.0.2-1 installed)
Warning: unmatched variable LUA_LIBDIR
make[1]: 进入目录“/tmp/luarocks_lua-resty-ldap-0.2.2-0-0KpnGK/lua-resty-ldap”
--- Build
CFLAGS: -O2 -fPIC
LIBFLAG: -shared
LUA_LIBDIR:
LUA_BINDIR: /usr/local/openresty/luajit/bin
LUA_INCDIR: /usr/local/openresty/luajit/include/luajit-2.1
--- Check Rust toolchain
The cargo is not installed
This rock contains the Rust code: make sure you have a Rust development environment installed and try again
make[1]: *** [all] 错误 1
make[1]: 离开目录“/tmp/luarocks_lua-resty-ldap-0.2.2-0-0KpnGK/lua-resty-ldap”

Error: Failed installing dependency: https://luarocks.org/lua-resty-ldap-0.2.2-0.src.rock - Build error: Failed building.
make: *** [deps] 错误 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with make deps for the APISIX 3.3.0 source installation and inspect the lua-resty-ldap 0.2.2-0 dependency output. The reported blocker is the missing cargo Rust toolchain; done means the dependency installation path no longer fails for this case, with the required installation behavior documented or verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.