Open ghost opened 4 years ago
Disclaimer: I don't use debian. Assuming you already tried this:
To install lgi
for 5.3
you can try luarocks
, something like this: luarocks --lua-version 5.3 install lgi
.
Then you probably need to add the directory it says it was installed to to the PATH
, unless you run luarocks
as root.
Disclaimer: I don't use debian. Assuming you already tried this:
To install
lgi
for5.3
you can tryluarocks
, something like this:luarocks --lua-version 5.3 install lgi
. Then you probably need to add the directory it says it was installed to to thePATH
, unless you runluarocks
as root.
Thanks a lot. I tried your way and I found out that it still installs lua 5.1 then I checked luarocks configuration and found it to be configured with Lua 5.1. I uninstalled it and rather than using apt command I built luarocks latest version from binaries. Then with luarocks configured for Lua 5.3 I installed lgi which installed correctly and so did awesome.
I am thankful to entire linux community. In just a month of using debian, my first linux, I got support of so many helpful people. Once again thanks for helping, I was very frustrated and about to quit when your reply made me believe that there are people backing linux users like me.
Note: Debian-stable repos are old so they install luarocks for Lua 5.1
Note: To check luarocks configuration run luarocks command in terminal without any parameters
I had to install Arch linux in Virtual Box to figure what may have gone wrong. And it did help. Arch is better for Devs with fast pacman and updated repos.
In debian, lgi is in the packages lua-lgi
and lua-lgi-dev
(installing lua-lgi-dev
suffices). This package contains LGI for Lua 5.1, 5.2, and 5.3. This seems to also be the case on stable aka buster: https://packages.debian.org/buster/amd64/lua-lgi/filelist
I downloaded awesome git files, installed lua, lgi and any other dependency required. But when I try to make awesome, I get this error.
Lgi installs itself only in 5.1. When I tried copying its files to Lua/5.3 it gave another error saying "corelgilua51" missing. The "corelgilua" file is nowhere on my pc. I even built lgi myself, the file isn't even in the binaries, is it a bug ?
I think I either need to force lgi to install or build itself in lua 5.3 OR force awesome to use lua 5.1. But I don't know how to do either of it.
Help me devs and thank you for reading.