#49074: qt5-mac @5.4.2: error: declaration of anonymous struct must be a definition -----------------------+------------------------ Reporter: fpvvd1@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: qt5-mac | -----------------------+------------------------ Comment (by framic5@…): Replying to [comment:25 jakubzeman@…]:
Here is a workaround:
Certainly your workaround will work, but let me comment on this. Installing ports zlib openssl xorg-libsm libgnomecups is not necessary for this, because all libraries are installed in /opt/local/lib. All libraries are already available at /usr/lib without installing ports. Besides that, xorg-libsm provides libSM.dylib and not libbsm.dylib, libgnomecups provides libgnomecups-1.0.dylib and not libcups.dylib. Instead of copying the libraries from /usr/lib I would recommend symlinks as mentioned above. For example with lib.dylib: {{{ sudo ln -s /usr/lib/libz.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.dylib }}} -- Ticket URL: <https://trac.macports.org/ticket/49074#comment:26> MacPorts <https://www.macports.org/> Ports system for OS X