Agree, and luarocks works well. YuanSheng Wang <[email protected]> 于2021年2月2日周二 下午1:52写道:
> /usr/local/apisix > > Of course, we expect to put all the files here forever, but unfortunately, > this is not possible. > > For example, if we use `luarocks install apisix`, we have to follow the > standard path of luarocks, > then all of the files will be put to `/usr/share/lua/5.1`. > > So I think we have to accept the current result. > Unless we give up using luarocks to install APISIX. > > > > On Mon, Feb 1, 2021 at 11:17 AM 付长杰 <[email protected]> wrote: > > > Hello everyone > > > > I noticed that we have too many installation paths now. > > > > Like the line 20 to 32 of /bin/apisix, we have : > > > > /usr/share/lua/5.1 : by luarocks make or make > > install (at CI) > > > > /usr/local/apisix/ : by rpm or docker > > > > /usr/local/apisix/deps/share/lua/5.1/ : > > by ./utils/install-apisix.sh install > > > > Same problem with the deps : > > > > /usr/share/lua/5.1 : by luarocks install (at CI) > > > > /usr/local/apisix/deps/share/lua/5.1/ : by rpm or docker > > > > ./ : by make deps (now ,we cant install deps to system > > by make) > > > > Should we integrate into /usr/local/apisix/ or another path ? > > > > > > > > > > > > My issuse is #3463 , welcome to discuss . > > > > -- > > *MembPhis* > My GitHub: https://github.com/membphis > Apache APISIX: https://github.com/apache/apisix >
