luakit icon indicating copy to clipboard operation
luakit copied to clipboard

Problems installing from source on Windows

Open AreaOfZero opened this issue 2 years ago • 5 comments

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 run make install as directed on luakit's website
  • These error messages appear luakitMakeFail

Environment:

Linux Distribution & Version: ubuntu wsl (Jammy Jellyfish) Output of luakit --version: N/A (can't install)

AreaOfZero avatar Sep 13 '22 00:09 AreaOfZero

You'll probably also need to run apt-get build-dep luakit.

taobert avatar Sep 13 '22 06:09 taobert

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?

AreaOfZero avatar Sep 21 '22 18:09 AreaOfZero

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.

taobert avatar Sep 21 '22 23:09 taobert

Did you get luakit compiled?

taobert avatar Oct 05 '22 00:10 taobert

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.

c0dev0id avatar Jan 08 '23 19:01 c0dev0id