LuaLS / LuaLS/lua-language-server
Can't build in Ubuntu "exec: ninja: not found"
Aperta
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 4.4k
- Fork
- 442
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
How are you using the lua-language-server?
Command Line
Which OS are you using?
Windows
What is the issue affecting?
Other
Expected Behaviour
Compilation succeeds
Actual Behaviour
rhys@RhysDesktop:~$ git clone https://github.com/LuaLS/lua-language-server
cd lua-language-server
Cloning into 'lua-language-server'...
remote: Enumerating objects: 64631, done.
remote: Counting objects: 100% (2562/2562), done.
remote: Compressing objects: 100% (891/891), done.
remote: Total 64631 (delta 1726), reused 2411 (delta 1663), pack-reused 62069 (from 1)
Receiving objects: 100% (64631/64631), 25.14 MiB | 19.31 MiB/s, done.
Resolving deltas: 100% (47348/47348), done.
rhys@RhysDesktop:~/lua-language-server$ ls
3rd LICENSE changelog.md doc main.lua make.bat make.sh script test.lua tools
Dockerfile README.md debugger.lua locale make make.lua meta test theme-tokens.md
rhys@RhysDesktop:~/lua-language-server$ ./make.sh
Submodule '3rd/EmmyLuaCodeStyle' (https://github.com/CppCXY/EmmyLuaCodeStyle) registered for path '3rd/EmmyLuaCodeStyle'
Submodule '3rd/bee.lua' (https://github.com/actboy168/bee.lua) registered for path '3rd/bee.lua'
Submodule '3rd/json.lua' (https://github.com/actboy168/json.lua) registered for path '3rd/json.lua'
Submodule '3rd/love-api' (https://github.com/love2d-community/love-api) registered for path '3rd/love-api'
Submodule '3rd/lovr-api' (https://github.com/bjornbytes/lovr-docs) registered for path '3rd/lovr-api'
Submodule '3rd/lpeglabel' (https://github.com/sqmedeiros/lpeglabel) registered for path '3rd/lpeglabel'
Submodule '3rd/luamake' (https://github.com/actboy168/luamake) registered for path '3rd/luamake'
Submodule 'meta/3rd/Cocos4.0' (https://github.com/LuaCATS/cocos4.0.git) registered for path 'meta/3rd/Cocos4.0'
Submodule 'meta/3rd/Defold' (https://github.com/LuaCATS/defold.git) registered for path 'meta/3rd/Defold'
Submodule 'meta/3rd/Jass' (https://github.com/LuaCATS/jass.git) registered for path 'meta/3rd/Jass'
Submodule 'meta/3rd/OpenResty' (https://github.com/LuaCATS/openresty.git) registered for path 'meta/3rd/OpenResty'
Submodule 'meta/3rd/bee' (https://github.com/LuaCATS/bee.git) registered for path 'meta/3rd/bee'
Submodule 'meta/3rd/busted' (https://github.com/LuaCATS/busted.git) registered for path 'meta/3rd/busted'
Submodule 'meta/3rd/ffi-reflect' (https://github.com/LuaCATS/ffi-reflect.git) registered for path 'meta/3rd/ffi-reflect'
Submodule 'meta/3rd/lfs' (https://github.com/LuaCATS/luafilesystem.git) registered for path 'meta/3rd/lfs'
Submodule 'meta/3rd/love2d' (https://github.com/LuaCATS/love2d.git) registered for path 'meta/3rd/love2d'
Submodule 'meta/3rd/lovr' (https://github.com/LuaCATS/lovr.git) registered for path 'meta/3rd/lovr'
Submodule 'meta/3rd/luaecs' (https://github.com/LuaCATS/luaecs.git) registered for path 'meta/3rd/luaecs'
Submodule 'meta/3rd/luassert' (https://github.com/LuaCATS/luassert.git) registered for path 'meta/3rd/luassert'
Submodule 'meta/3rd/luv' (https://github.com/LuaCATS/luv.git) registered for path 'meta/3rd/luv'
Submodule 'meta/3rd/skynet' (https://github.com/LuaCATS/skynet.git) registered for path 'meta/3rd/skynet'
Cloning into '/home/rhys/lua-language-server/3rd/EmmyLuaCodeStyle'...
Cloning into '/home/rhys/lua-language-server/3rd/bee.lua'...
Cloning into '/home/rhys/lua-language-server/3rd/json.lua'...
Cloning into '/home/rhys/lua-language-server/3rd/love-api'...
Cloning into '/home/rhys/lua-language-server/3rd/lovr-api'...
Cloning into '/home/rhys/lua-language-server/3rd/lpeglabel'...
Cloning into '/home/rhys/lua-language-server/3rd/luamake'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/Cocos4.0'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/Defold'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/Jass'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/OpenResty'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/bee'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/busted'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/ffi-reflect'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/lfs'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/love2d'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/lovr'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/luaecs'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/luassert'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/luv'...
Cloning into '/home/rhys/lua-language-server/meta/3rd/skynet'...
Submodule path '3rd/EmmyLuaCodeStyle': checked out 'e728970f81e887aa4078edaf93af895311bf667e'
Submodule path '3rd/bee.lua': checked out '8c01c7d79612d47f47f17d80304e66ae14d7b953'
Submodule path '3rd/json.lua': checked out '9ae6772870ff0480ec83fc88dc8ffa52880b3a98'
Submodule 'test/ltest' (https://github.com/actboy168/ltest) registered for path '3rd/json.lua/test/ltest'
Cloning into '/home/rhys/lua-language-server/3rd/json.lua/test/ltest'...
Submodule path '3rd/json.lua/test/ltest': checked out '5d72d81cf64e78b6a057f383cc6237b59f05b90f'
Submodule path '3rd/love-api': checked out '853639288547618dece86c3a8e52348fe304eba2'
Submodule path '3rd/lovr-api': checked out 'e89c753e1c2849b7533481fcf058095f8e050b9f'
Submodule path '3rd/lpeglabel': checked out '912b0b9e8641074408ffc2259e069b188e0c717b'
Submodule path '3rd/luamake': checked out 'c086f35cfad0236f74ba380d51f211c52a2c8abc'
Submodule '3rd/bee.lua' (https://github.com/actboy168/bee.lua) registered for path '3rd/luamake/bee.lua'
Cloning into '/home/rhys/lua-language-server/3rd/luamake/bee.lua'...
Submodule path '3rd/luamake/bee.lua': checked out '038aef6f41dc09dad43325e5d3cdc3e207b6d3c0'
Submodule path 'meta/3rd/Cocos4.0': checked out 'c0b2259e0d367561fd4563ae114b029b4dfe3a8f'
Submodule path 'meta/3rd/Defold': checked out '05379b40fb3084d82f7270475e42da8d521c4dae'
Submodule path 'meta/3rd/Jass': checked out '80d85cbbfd8ae2473fb39c7df4be814602f5bc4f'
Submodule path 'meta/3rd/OpenResty': checked out '3bec36f0f645bb38b3c8208990d5c36feb66ce3d'
Submodule path 'meta/3rd/bee': checked out 'c0bc5349e5fa741d7ad8d6d5c7624a54dcfd9ebe'
Submodule path 'meta/3rd/busted': checked out '5ed85d0e016a5eb5eca097aa52905eedf1b180f1'
Submodule path 'meta/3rd/ffi-reflect': checked out 'e9037efca4021a15552b281f5e91418afd370d8f'
Submodule path 'meta/3rd/lfs': checked out '9b5cfc15be744c829c66519cb11e49669ae7e39b'
Submodule path 'meta/3rd/love2d': checked out 'dad72a7eae31f35bf4c6529e5b81f6187b5b7377'
Submodule path 'meta/3rd/lovr': checked out '3ba215f98e1647111b50b311d45c31338fdc615f'
Submodule path 'meta/3rd/luaecs': checked out '21192fbdccc0f140dae2f74f7c3ec7d74e2aadd0'
Submodule path 'meta/3rd/luassert': checked out 'd3528bb679302cbfdedefabb37064515ab95f7b9'
Submodule path 'meta/3rd/luv': checked out '3615eb12c94a7cfa7184b8488cf908abb5e94c9c'
Submodule path 'meta/3rd/skynet': checked out 'afa6717ac4f71e42012fa2ebf4b410d04db647ae'
~/lua-language-server/3rd/luamake ~/lua-language-server
./compile/build.sh: 36: exec: ninja: not found
~/lua-language-server
./make.sh: line 8: 3rd/luamake/luamake: No such file or directory
Reproduction steps
See full log above (including clone). I'm doing this in Ubuntu 24.04.1 LTS via Windows Subsystem for Linux.
Additional Notes
No response
Log File
No response
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con make.sh e 3rd/luamake/compile/build.sh, quindi riproduci ./make.sh in Ubuntu 24.04.1 sotto WSL. Traccia il fallimento di ninja segnalato e verifica che un clone pulito possa completare il percorso di build senza il successivo errore dovuto all’assenza di luamake.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell, ubuntu
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100