#2318 closed defect (worksforme)
cannot compile kdelibs-3.5.6 with cups-1.2.7
Reported by: | Arthur Demchenkov | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Hello.
There are some issues in kdelibs-3.5.6
I've got cups-1.2.7 (it's current version in the book).
When I tried to compile kdelibs-3.5.6 I've got these errors:
kdelibs-3.5.6/kdeprint/cups/cupsdconf2/cups-util.c:445: error: request for member 'sin_addr' in something not a structure or union
After some investigation I changed kdelibs-3.5.6/kdeprint/cups/cupsdconf2/cups-util.c:445
from
if (ntohl(http->hostaddr.sin_addr.s_addr) != 0x7f000001 &&
to
if (ntohl(http->hostaddr->ipv4.sin_addr.s_addr) != 0x7f000001 &&
After trying "make" again I got this:
kdelibs-3.5.6/kdeprint/cups/ipprequest.cpp:521: error: '_ipp_free_attr' was not declared in this scope
When I do it with --disable-cups everything looks OK.
Is it a bug in the book?
P.S. My gcc version is 4.0.3
Change History (3)
comment:2 by , 18 years ago
comment:3 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing this ticket as "worksforme" for these reasons:
- The OP says now he entered the ticket in error.
- The versions of the packages listed in the ticket are not recent.
- I compiled KDElibs-3.5.7 with CUPS-1.2.11 without issue.
Note:
See TracTickets
for help on using tickets.
The problem has gone, please remove the ticket (I got fake kdelibs-3.5.6 package)