Ubuntu Build Problems

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
User avatar
zer0wolf
Prole
Posts: 6
Joined: Fri Sep 11, 2009 4:23 pm
Location: Austin, TX
Contact:

Ubuntu Build Problems

Post by zer0wolf »

I'm pretty much a noob when it comes to Linux, but when I try and download the latest Ubuntu build of Love (20091206), I get Error: Wrong architecture 'i386'. I'm running 9.10 with the 2.6.31-16-generic kernel on a Pentium T2330 Dual Core. I'm really interested in trying out cross platform development with Love.
iza
Prole
Posts: 10
Joined: Sat Jul 11, 2009 7:16 pm

Re: Ubuntu Build Problems

Post by iza »

Sounds like you're running 64 bit ubuntu and grabbed the 32 bit package.
Try the x64 build
(looks like there isn't one quite as recent up yet, but 20091123 is there)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Ubuntu Build Problems

Post by bartbes »

That one is a bit old... if you really want to play with it you might need to build from source.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Ubuntu Build Problems

Post by thelinx »

Yes, you should build from source.

First, make sure you have mercurial and LÖVE's dependencies.

Code: Select all

sudo apt-get install mercurial libdevil1c2 libfreetype6 libgl1-mesa-glx liblua5.1-0 libphysfs-1.0-0 libsdl1.2debian libopenal1 libogg0 libvorbis0a libvorbisfile3 libflac8 libflac++6 libmodplug0c2 libmpg123-0
Then, go to some directory (~/Stuff or something similar) and pull the 0.6.0 repo.

Code: Select all

hg clone http://love.hg.sourceforge.net/hgweb/love/love/
Enter the love directory and run the following commands.

Code: Select all

sh platform/unix/gen-makefile
sh platform/unix/automagic
sh configure
make
You will now have a executable called "love" in the src directory. That's it!

(Note: If you want to overwrite LÖVE 0.5.0 in the /usr/bin directory, just run sudo make install)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Ubuntu Build Problems

Post by bartbes »

Or use one of the source tarballs on the builds page, saves you from having to use mercurial.
Post Reply

Who is online

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