Summary: | Cannot build kdeprint from CVS | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | Casey Allen Shobe <cshobe> |
Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | CLOSED WORKSFORME | ||
Severity: | normal | CC: | jlayt, thiago, zack |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Casey Allen Shobe
2003-12-29 23:19:27 UTC
"sin_addr" is a member of "struct sockaddr_in" that is defined in /usr/include/netinet/in.h. Don't you have these on your system? This happened to me. I looked at the CUPS headers, and on my system the expression: ntohl(http->hostaddr.sin_addr.s_addr) works with: ntohl(http->hostaddr.ipv4.sin_addr.s_addr) or something more complicated if ipv6 is involved... I just want this to compile. We'll see later if it works. Hi, I have the same problem.
i've installed cups 1.2.x from cvs successfully.
When trying to compile kdelibs I recieve the same error above.
./configure --prefix=/opt/kde/ --with-qt-dir=/usr/local/qt
make
>>
in the /usr/include/netinet/in.h i have the sin_addr struct definition
Hmm. I'm reproducing this on a Debian sid/experimental box. I think found the problem, too. In cups 1.2 there is a union http_addr_t in http.h, whereas there wasn't in 1.1. http->hostaddr is a http_addr. The problem is that in http_t as defined in include/cups/http.h hostaddr is now a union. The method cups_local_auth() must be updated to handle ipv4 vs. ipv6 (at least) and use the correct union member. Which cups version? Starting from 1.2. Michael. I'm sure the original bug report is no longer valid. Please report any new compile bugs in new reports. Closing old Resolved status bug. |