Problem with cups, unsermake and 3.5.x branch

Kurt Pfeifle k1pfeifle at gmx.net
Fri Sep 28 19:24:36 BST 2007


Thiago Macieira wrote:
> Em Friday 28 September 2007 16:48:00 Albert Astals Cid escreveu:
>> Hi, i tried compiling 3.5 branch today.
>>
>> On starting unsermake i get
>> ERROR:kdeprint/cups/Makefile.am: variable 'LDADD' contains unknown flag -g.
>> These should be in LDFLAGS!
>> ERROR:kdeprint/cups/Makefile.am: variable 'LIBADD' contains unknown flag
>> -g. These should be in LDFLAGS!
>> ERROR:kdeprint/cups/cupsdconf2/Makefile.am: variable 'LIBADD' contains
>> unknown flag -g. These should be in LDFLAGS!
>>
>> That is because we use
>> cups-config --libs
>> that returns
>> -lcups -L/usr/lib -g -Wall -O2 -I/usr/include/dbus-1.0
>> -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -lgssapi_krb5
>> -lkrb5 -lk5crypto -lcom_err -lgnutls -lz -lpthread -lm -lcrypt
>> for me
>>
>> I hacked the Makefile a bit and got it compiling, but, is that a problem
>> for automake (that afair is the only "supported" build system) and if it
>> is, anyone knows how to fix it?
> 
> Shoot CUPS. It's their bug.

No. It's to do with building and packaging rather than CUPS sources, no?

> --libs should return libraries, not includes, defines and warning settings.

Yes. And it does so here. (CUPS 1.2.11, openSUSE build service RPM).


-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS





More information about the kde-core-devel mailing list