Hi guys,
I've been trying to get CUPS working on my MBW500, and following the instructions in various threads in the forum here i got the cupsd daemon running, and the web UI working. FINE, i've been able to install the printer (it's a Smsung ML 2010) but when i try to print something from the network clients, or even a test page from the web UI, i get the following message in the web UI:

"Unable to start filter "foomatic-rip" - No such file or directory."

i tryied to download and to compile the foomatic-filters package, but it stops beacause it needs some dependencies from the ghostscript libs, even it seems that everything is already installed. I'll try to be more accurate later when i'll try again the whole procedure, so i'll be able to post every output… but for now thaks in advance to those who'll reply.

I had this exact problem: pdf.c wouldn't compile because there were some missing dependencies from ghostscriptpdf.c:14:30: ghostscript/iapi.h: No such file or directorypdf.c:15:33: ghostscript/ierrors.h: No such file or directory

I tried to download the source of ghostscript and create a symlink to where foomatic-filters was compiling, but that didn't work.

Situation:
I followed instructions to install cups & recompile from scratch.
Added a printer, using the PPD file for my printer from the linuxprinting.org website. They recommend using min12xxw driver for that printer (Konica Minolta PagePro 1350W).

Symptoms:
Either the web interface complains that foomatic-rip is not found, or in the log (/var/log/cups/error_log), there was something similar to:
E [04/Jan/2010:22:03:59 -0800] Filter "foomatic-rip" for printer "KONICA_MINOLTA_PP1350W_USB_1" not available: No such file or directory

Solution:
Here's how I resolved the problem.

1) I found that "foomatic-rip" is included in the hpijs package.
#ipkg install hpijs

2) However, "foomatic-rip" was still not found, since for some reason the hpijs package doesn't create the symlink under /opt/lib/cups/filter
#ln -s /opt/lib/cups/filter/foomatic-rip /usr/lib/cups/filter/

3) Also, gs was not linked in /usr/bin, since I found the following in the logs:
D [05/Jan/2010:09:07:06 -0800] [Job 3] sh: gs: command not found
So I created the missing link to gs in the /usr/bin
#ln -s /opt/bin/gs /usr/bin/

4) The min12xxw also was missing, according to the logs:
D [05/Jan/2010:09:07:06 -0800] [Job 3] sh: min12xxw: command not found

Make the min12xxw target:
Picked up the package min12xxw-0.0.9.tar.gz and put it on the mybook, then
#tar tvfz min12xxw-0.0.9.tar.gz
#cd min12xxw-0.0.9
#./configure
#make
#make install

5) Finally, also libiconv was missing, according to the logs:
D [05/Jan/2010:09:10:40 -0800] [Job 5] gs: can't load library 'libiconv.so.2'
That one was easy: just installed it with ipkg
#ipkg install libiconv

Yeh! Now my printer is connected to the mybook world and is now working!