I’m trying to install Image Science on my Mac (according to the
instructions on http://seattlerb.rubyforge.org/ImageScience.html) so I
can use attachment_fu for image resizing. However the commands
beginning with ‘sudo port’ just throw up a command not found error. Is
there some part of Xcode I need to install?
Alternatively I’ve tried compiling based on the readme.osx file -
using ‘make -f Makefile.osx’ but then I get a different error:
g+±4.0 -Wno-ctor-dtor-privacy -Os -arch ppc -I. -ISource -ISource/
Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibMNG -
ISource/LibPNG -ISource/LibTIFF -ISource/ZLib -isysroot /Developer/
SDKs/MacOSX10.3.9.sdk -c Source/FreeImage/BitmapAccess.cpp -o Source/
Source/FreeImage/BitmapAccess.cpp:30:20: error: malloc.h: No such file
make: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1
Can anyone help? I’m probably just being an idiot!