Eugenio Tampieri's blog

Hi from a PowerMac G4 (or how I got git to run there)

I recently got a PowerMac G4 QuickSilver and I wanted to do some stuff on it.

PowerMac G4 baku13, CC BY-SA 3.0 http://creativecommons.org/licenses/by-sa/3.0/, via Wikimedia Commons

However, I wanted git to get some developement done on this machine. So I installed Xcode from the Tiger DVD, downloaded and copied on the PowerMac the current snapshot of git and ran make.

It didn't work.

After an evening of trial and errors (lots, in facts), I've finally come up with this invocation:

make install CFLAGS="-std=c99" NO_GETTEXT=YesPlease NO_CURL=YesPlease OPENSSL_SHA1=Yes

Then, after putting export PATH=~/bin:~/.bin:$PATH in ~/.profile and running git I was greeted with this:

git works

make parameters explaination

Let's break down the make invocation:

Those deal with missing symbols from linked libraries.

And with that I'm done for a while! Bye from my G4! Greetings from TextWrangler