Page 1 of 1

Building love-experiments for Raspberry Pi

Posted: Mon Oct 27, 2014 7:02 am
by kidfingers
During "automagic" I get:

configure.ac:54: error: possibly undefined macro: AM_PATH_SDL2

I built and installed SDL2 , SDL2_Image, and SDL2_Mixer (took forever)

Any help is appreciated.

Re: Building love-experiments for Raspberry Pi

Posted: Mon Oct 27, 2014 7:55 am
by bartbes
I'm not sure what OS you're on, but raspbian just has an sdl2 package.
Considering you built SDL2 yourself, the m4 file it installed probably isn't in the aclocal search path, see this page for changing that.

Re: Building love-experiments for Raspberry Pi

Posted: Mon Oct 27, 2014 1:28 pm
by kidfingers
Raspbian. I started to build/install SDL2 because of the error that automagic threw, on a hunch, but I will try that link out.

Re: Building love-experiments for Raspberry Pi

Posted: Mon Oct 27, 2014 1:44 pm
by kidfingers
Well that helped it get further, but now I am building DevIL....

Re: Building love-experiments for Raspberry Pi

Posted: Mon Oct 27, 2014 2:37 pm
by kidfingers
I built that, then I installed libmodplug, and got past automagic. either configure or make fails reporting luajit not found, so now I am attempting to build luajit, even though my system already has it according to apt-get (but I guess not the development files...?)

Re: Building love-experiments for Raspberry Pi

Posted: Wed Oct 29, 2014 1:43 pm
by bartbes
All of the dependencies should already be in the repositories, and you should be able to get most/all of them simply by running:

Code: Select all

sudo apt-get build-dep love