Page 1 of 1

Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 3:12 am
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?

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 4:25 am
by T-Bone
You could try the version available in the Ubuntu Software Center. If that fails, try the PPA.

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 10:30 am
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.

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 11:54 am
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?

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 12:46 pm
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.

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 1:02 pm
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. :)

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 2:16 pm
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.

Re: Installing Love on Ubuntu 12.10

Posted: Thu Jun 20, 2013 2:40 pm
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.

Re: Installing Love on Ubuntu 12.10

Posted: Fri Jun 21, 2013 2:35 am
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:

Re: Installing Love on Ubuntu 12.10

Posted: Fri Jun 21, 2013 5:16 am
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