#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 casey.webster@…): Replying to [comment:11 framic5@…]:
I ran into the same problem as mentioned before. This is due to a library which is not found by clang++:
...
The first one is libz.dylib from the log above, others will follow. A complete list: * libz.dylib * libssl.dylib * libcrypto.dylib * libresolv.dylib * libbsm.dylib * libcups.dylib
I have the first three of those libraries in the macport tree provided by the 'openssl` and `zlib` packages, so you might try installing those and see if it helps. The last three I have in /usr/lib. Perhaps try installing openssl and zlib then attempt to build the port normally. -- Ticket URL: <https://trac.macports.org/ticket/49074#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X