Installing Love on Ubuntu 12.10

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
Partysofa
Prole
Posts: 9
Joined: Mon Dec 17, 2012 2:34 am

Installing Love on Ubuntu 12.10

Post by Partysofa »

I'm having issues installing Love on my laptop which runs Ubuntu 12.10. I've been googling it for a while, but it still doesn't seem to install properly. I tried all the different versions you can download from the website, but to no use. Anyone here that can help me out so I can develop on the go?
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Installing Love on Ubuntu 12.10

Post by T-Bone »

You could try the version available in the Ubuntu Software Center. If that fails, try the PPA.
andrew.207
Prole
Posts: 19
Joined: Sat Jun 08, 2013 7:27 am
Location: Melbourne, Australia

Re: Installing Love on Ubuntu 12.10

Post by andrew.207 »

I've never used Ubuntu before, but I've learned if all else fails just compile it from source.

Download from this link: https://bitbucket.org/rude/love/downloa ... src.tar.gz

Open a terminal window at the file location, and type

Code: Select all

tar zxf love-0.8.0-linux-src.tar.gz
Now change into the directory that that command made

Code: Select all

cd ./love-0.8.0-linux
Now just run these commands and hope it works:

Code: Select all

./configure
make
sudo make install
Should work. Ubuntu and LOVE2D should be polite enough to also put shortcuts and stuff in for you.
http://www.atunnecliffe.com/
Bitcoins? 1LHn9yaErCakYD2iGwCyLungiC7ACxRUW8
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Installing Love on Ubuntu 12.10

Post by micha »

I believe compiling LÖVE is really not necessary on ubuntu. Partysofa, can you say, what exactly does not work? How far have you gotten?
Partysofa
Prole
Posts: 9
Joined: Mon Dec 17, 2012 2:34 am

Re: Installing Love on Ubuntu 12.10

Post by Partysofa »

andrew.207 wrote:I've never used Ubuntu before, but I've learned if all else fails just compile it from source.

Download from this link: https://bitbucket.org/rude/love/downloa ... src.tar.gz

Open a terminal window at the file location, and type

Code: Select all

tar zxf love-0.8.0-linux-src.tar.gz
Now change into the directory that that command made

Code: Select all

cd ./love-0.8.0-linux
Now just run these commands and hope it works:

Code: Select all

./configure
make
sudo make install
Should work. Ubuntu and LOVE2D should be polite enough to also put shortcuts and stuff in for you.
Didn't work, and I can't find anything on the Software Center. Here's what the terminal says:

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/olav/Nedlastinger/love-0.8.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
olav@ubuntu:~/Nedlastinger/love-0.8.0$ make
make: *** No targets specified and no makefile found.  Stop.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Installing Love on Ubuntu 12.10

Post by Boolsheet »

Their website says it has LÖVE 0.8.0. http://packages.ubuntu.com/it/quantal/love

See Building LÖVE for more steps on how to compile LÖVE on Linux. You need all the libraries and a C++ compiler. :)
Shallow indentations.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Installing Love on Ubuntu 12.10

Post by T-Bone »

I think compiling sounds overly complicated. Just get it from the PPA if you for some reason can't get it from the USC.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing Love on Ubuntu 12.10

Post by bartbes »

Boolsheet wrote:Their website says it has LÖVE 0.8.0. http://packages.ubuntu.com/it/quantal/love
Consequently, 'sudo apt-get install love' gets you it.
Partysofa
Prole
Posts: 9
Joined: Mon Dec 17, 2012 2:34 am

Re: Installing Love on Ubuntu 12.10

Post by Partysofa »

I'm trying to reinstall Ubuntu, I didn't really have anything of extreme value saved there anyway as I just got that laptop from my brother, it's pretty old. Nevertheless, thank you guys so much for helping me out, warms my heart! :awesome:
User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: Installing Love on Ubuntu 12.10

Post by vitaminx »

T-Bone wrote:I think compiling sounds overly complicated.
Nah, it isn't too complicated, just take some time to really read the error message:
Partysofa wrote:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/olav/Nedlastinger/love-0.8.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
olav@ubuntu:~/Nedlastinger/love-0.8.0$ make
make: *** No targets specified and no makefile found.  Stop.
bingo, no c compiler found!
to install a c compiler on ubuntu use this:

Code: Select all

sudo apt-get install gcc
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests