Wednesday, July 29, 2009

Compiling Löve2d from SVN TRUNK

Since there are no docs on howto compile love from svn directly I though I would make this post quick to help those who are struggling with it. Automake / Autoconf is not all 100% setup for löve2d yet so you need to manually kick it off like so:

You need automake to get this right to install that if you dont have it

Checkout the code base:

svn co https://love.svn.sourceforge.net/svnroot/love/trunk love

Install the basics
sudo apt-get install build-essential libboost-dev libsdl1.2-dev liblua5.1-dev libfreetype6-dev libdevil-dev libphysfs-dev libsdl-mixer1.2-dev libflac++-dev

The following will be installed by the autobuild script but this is for FYI:
ftp-upload libalut-dev libflac-dev libmodplug-dev libmpg123-0 libmpg123-dev
libopenal-dev libsdl-sound1.2-dev libspeex-dev libtiff4-dev libtiffxx0c2
liblua5.1-0-dev libsdl1.2-dev libfreetype6-dev libphysfs-dev libdevil-dev libmng-dev
libmng-dev liblcms1-dev liblcms1-dev libpng12-dev libflac-dev libmpg123-0
ibspeex-dev libtiffxx0c2

cd love
cd platform/unix
./autobuild


You will end up with:
love-r774-linux-src.tar.gz
love-r774-ubuntu-x86.deb
love-r774 - Binary on its own



FAQ

configure.in:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
you havnt run automagic yet!

No comments:

Post a Comment