Installing LOVE on Debian

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
LordOfGears2
Prole
Posts: 4
Joined: Sun Feb 23, 2014 8:40 pm

Installing LOVE on Debian

Post 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?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing LOVE on Debian

Post 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.
LordOfGears2
Prole
Posts: 4
Joined: Sun Feb 23, 2014 8:40 pm

Re: Installing LOVE on Debian

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing LOVE on Debian

Post 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.
LordOfGears2
Prole
Posts: 4
Joined: Sun Feb 23, 2014 8:40 pm

Re: Installing LOVE on Debian

Post 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?
wezheng
Prole
Posts: 1
Joined: Tue Aug 26, 2014 6:32 am

Re: Installing LOVE on Debian

Post by wezheng »

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest