[cups.development] CUPS universal for MAc Intel

Michael R Sweet msweet at apple.com
Thu Sep 27 15:07:29 PDT 2007


Alexander Demmler wrote:
> Hi!
> 
> How do I compile CUPS on MacINtel Plattform to provide a universal Framework. Ihave tried ./configure + make + make install for now.
> Printng is fine, but if I launch PPC Apps(Rosetta) than I get this:
> 
> dyld: Library not loaded: /usr/lib/libcups.2.dylib
> Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
>   Reason: no suitable image found.  Did find:
> 	/usr/lib/libcups.2.dylib: mach-o, but wrong architecture
> 	/usr/lib/libcups.2.dylib: mach-o, but wrong architecture

Use:

     ./configure --with-archflags="-arch i386 -arch ppc"

when compiling on an Intel system.  You can do something similar on
PPC systems but you also need to specify the 10.4u SDK paths.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list