I had some trouble installing rimage; I was getting the error: "Sorry, can't find fftw header". I even had installed fftw (2.x) via Macports and had my PATH set correctly. The same was true of libjpeg, after later getting the error "Sorry can't find jpeglib header". But the fix was pretty easy. Note: you may need to have XTools installed so you get the necessary compilers.
1) Download the fftw and jpeg source. The current downloads for me were here and here.
2) Open terminal and cd to your downloads directory.
Type:
gzip -d fftw-2.1.5.tar.gz tar -xvf fftw-2.1.5.tar cd fftw-2.1.5 ./configure && make sudo make install cd .. rm -rf fftw-2.1.5*
gzip -d jpegsrc.v6b.tar.gz tar -xvf jpegsrc.v6b.tar cd jpeg-6b/ cp /usr/share/libtool/config.sub . cp /usr/share/libtool/config.guess . ./configure --enable-shared --enable-static make sudo make install cd .. rm -rf jpeg-6b rm jpegsrc.v6b.tar
3) Now, install the rimage package from source via R.
That's it!