Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luarocks install elasticsearch not working #33

Open
adityavats007 opened this issue Dec 24, 2018 · 2 comments
Open

luarocks install elasticsearch not working #33

adityavats007 opened this issue Dec 24, 2018 · 2 comments

Comments

@adityavats007
Copy link

I tried installing Elastic search using the command luarocks install elasticsearch, but every time I got this error
"luarocks install elasticsearch

Installing http://luarocks.org/repositories/rocks/elasticsearch-1.0.0-1.src.rock...

Missing dependencies for elasticsearch:
lua-cjson

cl /MD /O2 -c -Folua_cjson.obj -IC:/Program Files (x86)/Lua/5.1/include lua_cjson.c -DDISABLE_INVALID_NUMBERS -DUSE_INTERNAL_ISINF
'cl' is not recognized as an internal or external command,
operable program or batch file.

Error: Failed installing dependency: http://luarocks.org/repositories/rocks/lua-cjson-2.1.0.6-1.src.rock - Build error: Failed compiling object lua_cjson.obj
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
"
I tried installing the missing dependency using "luarocks install lua-cjson" but it could not install the dependency. @pmusa @DhavalKapil

@pmusa
Copy link
Collaborator

pmusa commented Jan 3, 2019

Sorry, this project is not maintained anymore. Unfortunately, we don't have the time and there is not enough interest from the community. If you want to be the new maintainer, we can talk about it.

cheers

@neilcook
Copy link
Collaborator

I have dependencies on this code for various projects, so I've forked it and I maintain it there:
https://github.com/PowerDNS/elasticsearch-lua

I've also created a new luarock https://luarocks.org/modules/neilcook/elasticsearch-lua

This version drops testing and support for elasticsearch <6.x, and also drops lua 5.2 and 5.3 support (I only use lua 5.1/luajit). The lua support issue is mainly due to cjson not supporting >lua 5.1.

Feel free to try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants