Problems linking to cups

aono at aono at
Wed Sep 24 19:34:48 GMT 2003

I'm not using CUPS (nor 3.0 rc !), so it is just a guess
from source.

In <C630086C17F1E54AA2531C2A910B2D28066C91 at>,
john.rizzo at wrote:

>> I'm having problems linking to cups.  I didn't see any entry in the bugs
>> database so I wanted to send this and see what you guys thought.
>> I compiled cups 1.1.19 and installed it in /usr/local/cups-1.1.19.  This
>> directory includes everything for cups; libs, include files, config
>> files, etc.  The binaries for cups were installed in /usr/local/bin and
>> /usr/local/sbin though.
>> someuser at somehost [548][~/samba-3.0.0rc4/source]$./configure
>> --prefix=/usr/local/cups-3.0.0rc4 --with-winbind --with-ldapsam
>> --with-ldap --with-ads --with-krb5=/usr/kerberos
>> --with-libiconv=/usr/local/gnu --with-cups=/usr/local/cups
>> --with-privatedir=/usr/local/samba-3.0.0rc4/etc
>> --with-configdir=/usr/local/samba-3.0.0rc4/etc

By seeing configure in HEAD (and that of rc4 via CVSweb),
it does not support --with-cups option. It seems configure
sets CFLAGS / LDFLAGS / PRINT_LIBS automatically if you
have cups-config command in your PATH ...

To all: should we show message if cups-config was not found?
Tomoki AONO	(aono at

More information about the samba-technical mailing list