Closed RpxdYTX closed 1 year ago
get the build dependencies,
module 'lgi.version' not found:
sudo nala install lua-lgi
lua-lgi is already at the latest version 0.9.2-3
Nothing for Nala to do.
Installing lua-lgi-dev didn't change anything, and i did the sudo apt build-dep awesome
snippet from the README
Building for Lua 5.4.
Error: [string "print(string.format('Building for %s.', jit a..."]:2: module 'lgi.version' not found:
no field package.preload['lgi.version']
no file '/usr/local/share/lua/5.4/lgi/version.lua'
no file '/usr/local/share/lua/5.4/lgi/version/init.lua'
no file '/usr/local/lib/lua/5.4/lgi/version.lua'
no file '/usr/local/lib/lua/5.4/lgi/version/init.lua'
no file '/usr/share/lua/5.4/lgi/version.lua'
no file '/usr/share/lua/5.4/lgi/version/init.lua'
no file './lgi/version.lua'
no file './lgi/version/init.lua'
no file '/usr/local/lib/lua/5.4/lgi/version.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.4/lgi/version.so'
no file '/usr/lib/lua/5.4/lgi/version.so'
no file '/usr/local/lib/lua/5.4/loadall.so'
no file './lgi/version.so'
no file '/usr/local/lib/lua/5.4/lgi.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.4/lgi.so'
no file '/usr/lib/lua/5.4/lgi.so'
no file '/usr/local/lib/lua/5.4/loadall.so'
no file './lgi.so'
LGI has not yet cut a release that includes Lua 5.4 compatibility. Therefore, distribution packages usually don't include that either.
You will have to build and install LGI from source first.
or build awesome against lua version for which you have your lgi-git installed
Output of
awesome --version
:It isn't even installed
How to reproduce the issue:
Clone the repo, get the build dependencies, and just try to do make package on a Pop! OS 22.04 system.
Actual result:
Running
make -j$(nproc) package
returns:Running with AWESOME_IGNORE_LGI=1 returns:
Changing the linker to GNU's gold didn't hange the errors.
Expected result:
It should build the application into a
.deb
package that should be installable.