Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Can't install #34

@kdurant

Description

@kdurant

system: wsl ubuntu18.04

root@wj:~# luarocks install --server=http://luarocks.org/dev lua-lsp
Installing http://luarocks.org/dev/lua-lsp-scm-2.rockspec
Missing dependencies for lua-lsp scm-2:
   lpeglabel ~> 1.5 (not installed)
   inspect ~> 3.1 (not installed)

lua-lsp scm-2 depends on lpeglabel ~> 1.5 (not installed)
Installing https://luarocks.org/lpeglabel-1.5.0-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.2 -c lpcap.c -o lpcap.o
lpcap.c:6:10: fatal error: lua.h: No such file or directory
 #include "lua.h"
          ^~~~~~~
compilation terminated.

Error: Failed installing dependency: https://luarocks.org/lpeglabel-1.5.0-1.src.rock - Build error: Failed compiling object lpcap.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions