I'm trying to install Image Science on my Mac (according to the
instructions on 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
or directory
make: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1

Can anyone help? I'm probably just being an idiot!

Andy Croll

To use 'port' you'll need to install MacPorts first:

Knew it had to be something obvious I was missing. Thanks Rob! Life/

You need to install the latest version of the MacOS X Developer tools (you can download the 700 MB (IIRC) disk image from the Apple Developer Connection site).

Best regards

Peter De Berdt