Problem with cups, unsermake and 3.5.x branch

Albert Astals Cid aacid at kde.org
Fri Sep 28 15:48:00 BST 2007


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?

Albert




More information about the kde-core-devel mailing list