Page 1 of 1
Ubuntu Build Problems
Posted: Fri Dec 11, 2009 4:23 am
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.
Re: Ubuntu Build Problems
Posted: Fri Dec 11, 2009 5:00 am
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)
Re: Ubuntu Build Problems
Posted: Fri Dec 11, 2009 6:35 am
by bartbes
That one is a bit old... if you really want to play with it you might need to build from source.
Re: Ubuntu Build Problems
Posted: Fri Dec 11, 2009 9:34 pm
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)
Re: Ubuntu Build Problems
Posted: Sat Dec 12, 2009 10:27 am
by bartbes
Or use one of the source tarballs on the builds page, saves you from having to use mercurial.