Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Has Anyone Tried to Port the Common Unix Printing System (CUPS)?



Like the title says, has anyone taken a shot at porting CUPS to OS X/Darwin?
CUPS is a very capable set of Unix/Linux print drivers and associated spooler
that would be nice to have for my unsupported Epson printer. It won't build
right out of the tarball. A while ago I tried building CUPS 1.1.8 and the
build fails during compilation with the following errors:
Compiling util.c...
util.c: In function `cupsDoFileRequest':
util.c:243: warning: unsigned int format, long unsigned int arg (arg 3)
util.c:245: warning: unsigned int format, size_t arg (arg 3)
Linking libcups.so.2...
/usr/bin/ld: unknown flag: -soname
make[1]: *** [libcups.so.2] Error 1
make: *** [all] Error 1

While it seems like this could be some trivial shared library problem that
I could tweak the Makefile to overcome I suspect that I'll run into bigger
roadblocks in trying to get to my USB printer via a Posix '/dev' device
reference. As far as I can tell USB Printers are not getting Posix device
interfaces as of yet. Ioreg can see my printer and identifies it for a
possible IOKit interface but porting CUPS would go a lot smooother with
a '/dev' file reference.

Any suggestions on how to proceed?

Steve Wall




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.