Mike's Take

Saturday, August 19, 2006

Saved by Fink

I have been trying to get Cairo running on my Intel Mac so I could play with Smalltalk bindings that Travis Griggs has published in the public repository. I googled around and started downloading source code. But to build it I needed GCC so I downloaded the Xcode tools from Apple. Then I tried to build it. No luck! I needed to install libpng first. Get it, try to build it, no luck! I needed to install zlib. But then zlib needed expat and so on and so on. Once I got these on and going, Cairo still couldn't find libpng. I disabled png support and tried again. Nope! It needed freetype. And font-config. On and on it went. So finally I downloaded Fink. Wonderful, it has a nice installer and voila, I have tools to help me. Fink lets you use apt to find, download and install binaries. And even more wonderfully, it lets you download and build from source while also downloading and building all the dependencies. One click and down comes Cairo and all its buddies and away I go happy as can be.

0 Comments:

Post a Comment

<< Home