Build Love on PowerPC - MintPPC 9.3

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
JDFight
Prole
Posts: 27
Joined: Tue Sep 13, 2011 2:44 am
Location: USA

Build Love on PowerPC - MintPPC 9.3

Post by JDFight »

Hello Everyone -

I just got Love 0.8.0 to build successfully on my MintPPC g4 powerbook system. Here is how I did it:

Clone the love repository from Bitbucket

Code: Select all

hg clone https://bitbucket.org/rude/love
Install love dependencies:

Code: Select all

sudo apt-get build-dep love
I am not sure if this next step is neccessary - but I ran it and it worked for me...
Run the get-libs script in <LOVE_SRC>/platform/unix:

Code: Select all

cd <LOVE_SRC>/platform/unix
chmod +x get-libs
./get-libs
There is a macro called AM_PROG_AR defined in configure.in that initially causes love 0.8.0 to fail to build. This can be fixed by commenting out a line in the configure.in file.

cd to the love source directory and comment out line #9 in platform/unix/configure.in

Code: Select all

#AM_PROG_AR
Now build it:

Code: Select all

cd <LOVE_SRC>
platform/unix/automagic
./configure
make
Have fun spreading the love on powerpc!

Note: if you are running the unstable MintPPC 11 you can just install Love 0.8.0 with apt. I think these instructions will work similarly on Debian Squeeze based systems...
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Build Love on PowerPC - MintPPC 9.3

Post by bartbes »

JDFight wrote: cd to the love source directory and comment out line #9 in platform/unix/configure.in

Code: Select all

#AM_PROG_AR
I'm pretty sure that was necessary, perhaps you just didn't have the right tool installed?
User avatar
JDFight
Prole
Posts: 27
Joined: Tue Sep 13, 2011 2:44 am
Location: USA

Re: Build Love on PowerPC - MintPPC 9.3

Post by JDFight »

Hmmm - Sorry about that, If it is neccessary, then I don't want to give bad advice....The AM_PROG_AR has something to do with automake. If it is not defined, then older versions of automake fail. My assumption in commenting it out was that if it was not defined, then it was not being used. I am using the automake that came with my system distribution which is based on Debian Squeeze.

The most I could find about the macros is here: http://www.gnu.org/software/automake/ma ... acros.html :

Code: Select all

AM_PROG_AR([act-if-fail])
    You must use this macro when you use the archiver in your project, if you want support for unusual archivers such as Microsoft lib. The content of the optional argument is executed if the archiver interface is not recognized; the default action is to abort configure with an error message. 
Here a couple more links I found related to AM_PROG_AR:
http://patchwork.ozlabs.org/patch/128825/
https://github.com/keithw/mosh/pull/266

Is this a critical component of Love? Is my build incomplete?

I will try again later with a new version of automake and see if the bug goes away - Thanks!
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Build Love on PowerPC - MintPPC 9.3

Post by bartbes »

Well, I had to add it because it wouldn't compile otherwise, if it compiled, it's probably fine, then.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests