Alloyed / lua-lsp

A Lua language server
MIT License
288 stars 21 forks source link

Error installing. #20

Closed hifall closed 5 years ago

hifall commented 6 years ago

I am having this issue on Ubuntu 16.04.

When I run this: ./luarocks install --server=http://luarocks.org/dev lua-lsp I get: Error: Failed finding Lua header files. You may need to install them or configure LUA_INCDIR.

At that point of time, Lua has already been installed, and LUA_INCDIR env var has been set to Lua's src directory which contains the headers.

Any idea?

karai17 commented 5 years ago

You need to install the lua dev files. In Ubuntu it should be called liblua-dev or something similar.

Alloyed commented 5 years ago

feel free to reopen if you are still having issues~