bobby blogging

Installing ImageScience on Leopard, for Reals

After trudging through five or six completely unhelpful blog posts purporting to fix the install for ImageScience, I have cobbled together a WORKING set of instructions. Posted here for posterity.

sudo gem install RubyInline
Download FreeImage.
cd FreeImage
mate Makefile.osx
Replace outdated references with the following:
INCLUDE_PPC = -isysroot /Developer/SDKs/MacOSX10.5.sdk
INCLUDE_I386 = -isysroot /Developer/SDKs/MacOSX10.5.sdk
LIBRARIES_PPC = -Wl,-syslibroot /Developer/SDKs/MacOSX10.5.sdk
LIBRARIES_I386 = -Wl,-syslibroot /Developer/SDKs/MacOSX10.5.sdk
make
sudo make install
sudo gem install image_science