Problem with cups, unsermake and 3.5.x branch

Thiago Macieira thiago at kde.org
Fri Sep 28 16:05:17 BST 2007


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.

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

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070928/85c52fec/attachment.sig>


More information about the kde-core-devel mailing list