api7 / lua-resty-ldap

Apache License 2.0
5 stars 6 forks source link

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

Open EasonFeng5870 opened 11 months ago

EasonFeng5870 commented 11 months ago

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