[cups.general] problems with cups-config regarding unsermake

Michael Sweet msweet at apple.com
Thu Nov 8 09:56:59 PST 2007


Zé wrote:
> I always build kde with unsermake but yesterday i got problems, so i talked 
> with some kde developers and they said that there was a problem regarding the 
> cups-config output when building kde with unsermake, the output when building 
> was this:
> 
> + unsermake -j2
> ERROR:kdeprint/cups/Makefile.am: variable 'LDADD' contains unknown flag -O2. 
> These should be in LDFLAGS!
> ERROR:kdeprint/cups/Makefile.am: variable 'LIBADD' contains unknown flag -O2. 
> These should be in LDFLAGS!
> ERROR:kdeprint/cups/cupsdconf2/Makefile.am: variable 'LIBADD' contains unknown 
> flag -O2. These should be in LDFLAGS!
> 
> and as we can see in the cups-config --libs output there is in fact the 
> flag "-02":
> 
> ~]$ cups-config --libs
> -lcups -L/usr/lib64 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fexceptions -fstack-protector-all -fPIC -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -L/usr/lib64 -lgnutls -lgcrypt -lgpg-error -lz -lpthread -lm -lcrypt
> 
> like kde developers said cups needs to be fixed in order to use unsermake to 
> build kde and since its much faster that make.
> 
> So i ask if someone can help me fixing cups-config?

Start with your Linux distro - I checked the output with a standard
build and did not get any optimizer/define flags.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list