Opened 12 years ago
Closed 11 years ago
#35343 closed defect (fixed)
samba3: error: incomplete definition of type 'struct _ipp_s'
Reported by: | mikeyy@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | public@…, duncan@…, accounts@…, brett.higgins@…, thomas-corte, eduo@…, ivboss@…, smbmacportstrac@…, cooljeanius (Eric Gallager) |
Port: | samba3 |
Description
As title says, fresh install of 10.8, and Macports, samba3 fails to compile.
Attachments (5)
Change History (23)
Changed 12 years ago by mikeyy@…
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mountainlion added; samba removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Port: | samba3 added |
Priority: | High → Normal |
Summary: | Samba won't compile on 10.8 → samba3: error: incomplete definition of type 'struct _ipp_s' |
Both of the logs you attached have lines that say "Skipping completed" which means they were not generated from a clean installation attempt so we cannot trust their contents. Please "sudo port clean samba3" and try again, then attach the new main.log if it fails again.
Changed 12 years ago by accounts@…
Attachment: | main.5.log added |
---|
sudo port install samba3 (after clean)
comment:14 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ivboss@… added |
---|
Has duplicate #35586.
comment:15 Changed 12 years ago by smbmacportstrac@…
Under 10.8, /usr/include/cups/ipp.h has several data structures that are now opaque data types. A quick fix is to add a "#define _IPP_PRIVATE_STRUCTURES 1" before each "#include <cups/ipp.h> A better fix would be to create a patch distfile and get it integrated into MacPorts. The best fix would be to modify the upstream source code to use the accessor methods provided by cups/ipp.h and submit the patches upstream.
By the way, this same problem occurs in netatalk.
comment:18 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was fixed at some point
Log file