Page 1 of 1

Installing LOVE on Debian

Posted: Fri Aug 22, 2014 11:52 pm
by LordOfGears2
Hello, I've been having some trouble getting love to install on my PC. I recently (~1 month) switched to Debian as my full-time OS, and now that Ludum Dare is starting I decided to reinstall LOVE. I can't get it to work though :(

I downloaded the amd64(my arch) debs, and I tried to install them. This is what happens:

Code: Select all

sudo dpkg -i liblove_0.9.1_amd64.deb 
[sudo] password for lord: 
Selecting previously unselected package liblove:amd64.
(Reading database ... 128689 files and directories currently installed.)
Unpacking liblove:amd64 (from liblove_0.9.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of liblove:amd64:
 liblove:amd64 depends on libc6 (>= 2.15); however:
  Version of libc6:amd64 on system is 2.13-38+deb7u3.
 liblove:amd64 depends on libluajit-5.1-2; however:
  Package libluajit-5.1-2:amd64 is not installed.
 liblove:amd64 depends on libsdl2-2.0-0 (>= 2.0.0); however:
  Package libsdl2-2.0-0 is not installed.
I get a similar error when trying to install just love, instead of liblove. Obviously though liblove is meant to be installed first so I figured I would just start there.

Any ideas on what I should do?

Re: Installing LOVE on Debian

Posted: Sat Aug 23, 2014 9:43 am
by bartbes
You obviously need the dependencies installed, so install them. Given the package is already installed, running 'sudo apt-get -f install' should try to fix it.

Re: Installing LOVE on Debian

Posted: Sat Aug 23, 2014 4:46 pm
by LordOfGears2
I tried getting LuaJIT, and it required the libc. apt-get -f install just removes the installed package because that's the only solution it can find. The main problem I'm having is upgrading my libc to 2.15 or more.

EDIT: oh yeah I couldn't find sdl2, either.

Re: Installing LOVE on Debian

Posted: Sat Aug 23, 2014 5:04 pm
by bartbes
Yeah, debian stable is kind of.. old that way. There is an sdl2 package in the backports repository, but luajit's only in testing and unstable. You could try compiling them from source.

Re: Installing LOVE on Debian

Posted: Sat Aug 23, 2014 5:59 pm
by LordOfGears2
bartbes wrote:Yeah, debian stable is kind of.. old that way. There is an sdl2 package in the backports repository, but luajit's only in testing and unstable. You could try compiling them from source.
EDIT: Oops

Okay, so thanks, I didn't know that backports was even a thing. So that gets sdl2.

The main thing still is libc. I don't know how to upgrade it. I know that my steam thing uses LD_LIBRARY_PATH magic to make steam use up-to-date libraries, but I have no idea how to do that.

EDIT2: I got LuaJIT to work. I had to compile it, like you said.

Code: Select all

lord@main-debian:~/Downloads$ luajit
LuaJIT 2.0.3 -- Copyright (C) 2005-2014 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 AMD fold cse dce fwd dse narrow loop abc sink fuse
> print( "this is a test".." i am on lua jit")
this is a test i am on lua jit
but I get

Code: Select all

 liblove:amd64 depends on libluajit-5.1-2; however:
  Package libluajit-5.1-2:amd64 is not configured yet.
still. I can probably fix that later though. Still no libc, though. Any ideas?

Re: Installing LOVE on Debian

Posted: Tue Aug 26, 2014 6:33 am
by wezheng