Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2318 closed defect (worksforme)

cannot compile kdelibs-3.5.6 with cups-1.2.7

Reported by: Arthur Demchenkov Owned by: blfs-book@…
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 Arthur Demchenkov, 17 years ago

The problem has gone, please remove the ticket (I got fake kdelibs-3.5.6 package)

comment:3 by Randy McMurchy, 17 years ago

Resolution: worksforme
Status: newclosed

Closing this ticket as "worksforme" for these reasons:

  1. The OP says now he entered the ticket in error.
  2. The versions of the packages listed in the ticket are not recent.
  3. I compiled KDElibs-3.5.7 with CUPS-1.2.11 without issue.

comment:4 by (none), 17 years ago

Milestone: 6.2.1

Milestone 6.2.1 deleted

Note: See TracTickets for help on using tickets.