Closed louis77 closed 1 month ago
Did a little more research on this. Obviously, the install script tries to parse the /etc/os-release file and look for the value of the ID field.
This is my config:
$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
Obviously the value "pop" then fails in the MEMBER-OF function.
I think it would be better to parse the ID_LIKE fields instead which contains the distro name the current is based on.
From man os-release
:
ID_LIKE=
A space-separated list of operating system identifiers in the same syntax as the ID= setting. It should list identifiers of operating systems that are closely related
to the local operating system in regards to packaging and programming interfaces, ...
I am not familiar with this install script, but it probably just needs to treat Ubuntu the same as Debian. @Sasanidas I think made the script and should add this.
Can you try installing it this way for now?
# Install Qlot
curl -L https://qlot.tech/installer | sh
# Clone Lem
git clone https://github.com/lem-project/lem.git
cd lem
# Build Lem
make sdl2
# Install to $PATH
cp ./lem /usr/bin/lem
# Run Lem
lem
Replace sdl2
with ncurses
if you want a terminal interface.
You may also see dependency errors when building, if you have any trouble figuring those out post the errors here and we can help you.
Assuming you have GCC and the normal tools already installed, I think the only other dependencies you might need are either ncurses-devel
or sdl2-devel
or whatever the packages with headers are named in the Ubuntu repos.
I arrived here with the same problem, knowing the script must not be recognizing I am using a Debian based distro (Kaisen-Linux). Thanks to the OP I knew where to look. If one has sudo privileges, it is as simple as editing /etc/os-release to id=debian, rerunning the script, and then changing it back (it you want.) No need to build from source.
Indeed https://github.com/lem-project/lem/issues/1299#issuecomment-1949361495 this appear to be the problem, I would like to know if there's a simpler version to check the distro name :+1:
Sorry about the inconvenience
Running distro based on Ubuntu 22.04, the install script fails SBCL version is 2.1.11.debian.