Installing an Image Processor for attachment_fu

June 04, 2008

Instructions for both Ubuntu and OSX..

Ubuntu

Just used apt-get for this

sudo apt-get install libfreeimage3 libfreeimage-dev

Then to install the image processor

sudo gem install image_science

OSX

Couldn’t get the makefile to compile. Best way of getting this working was to install MacPorts.

  • Downloaded and installed MacPorts using the leopard .dmg
  • After installation ensured that path and manpath were correct

      which port # gives back a path
    
  • Used MacPorts to install freeimage

      sudo port install freeimage
    

    n.b. this takes some time

  • install gem

      sudo gem install image_science