[BLFS Trac] #2318: cannot compile kdelibs-3.5.6 with cups-1.2.7

BLFS Trac trac at linuxfromscratch.org
Sun Mar 18 08:02:18 PDT 2007

#2318: cannot compile kdelibs-3.5.6 with cups-1.2.7
 Reporter:  Spinal  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  defect  |      Status:  new                           
 Priority:  high    |   Milestone:  6.2.1                         
Component:  BOOK    |     Version:  SVN                           
 Severity:  normal  |    Keywords:                                
 There are some issues in ''kdelibs-3.5.6''[[BR]]
 I've got ''cups-1.2.7'' (it's current version in the book).[[BR]]
 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'' [[BR]]
 if (ntohl(http->hostaddr.sin_addr.s_addr) != 0x7f000001 &&
 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.[[BR]]
 Is it a bug in the book?

 P.S. My gcc version is 4.0.3

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2318>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list