Get MemeStreams Stuff!
The only package that will build worth a crap is gd-latest. Don't try any other, except 2.0.0. I hear that runs.
I just spent all night getting GD to build.
LibGD on OS X: The Nightmare