luakit
luakit copied to clipboard
Problems installing from source on Windows
Current Behavior: Unable to recognize installed dependencies
Desired Behavior: Luakit installation on Windows 10
How can we reproduce it (step by step):
- open ubuntu in wsl
- run
do-release-upgrade
as directed on https://luakit.github.io/#sec-download - Install dependencies listed on luakit's website for installing from source
-
cd
into user directory in windows drive (C: drive) - clone github repository
-
cd
into cloned directory and runmake install
as directed on luakit's website - These error messages appear
Environment:
Linux Distribution & Version: ubuntu wsl (Jammy Jellyfish)
Output of luakit --version
: N/A (can't install)
You'll probably also need to run apt-get build-dep luakit
.
When I do, I get this error:
E: You must put some 'deb-src' URIs in your sources.list
How do I fix this error?
In debian (and derivatives, such as ubuntu) there is an /etc/apt/sources.list
which contains a list of repositories where packages can be installed from. For whatever reason, compiled ready-to-install packages get a seperate entry from source compile-yourself packages, so for example, my sources.list
includes:
deb http://ftp.au.debian.org/debian/ sid non-free contrib main
deb-src http://ftp.au.debian.org/debian/ sid non-free contrib main
Based on this, and the examples here, i'd expect that you just have to copy the deb
line and change one of them to deb-src
,
however Ubuntu has changed/obfuscated it's repositories in a manner that i don't fully grasp (ppa:...),
so there might be quirks that will cause trouble.
Did you get luakit compiled?
I think Xenial is old by now. So the do-release-upgrade
should not be necessary anymore. The instruction were written at WSL1 times. Not sure if the circumstances have changed in the WSL world.
If so, feel free to report here, so I can update the website with additional notes.