#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | --------------------------+------------------------- Comment (by vmagditch@…): Replying to [comment:1 ryandesign@…]:
This was not a clean build attempt. Please [https://guide.macports.org/chunked/project.html#project.tickets clean and try again].
The error comes from a boost header, but unistd.h is a standard system header and it should be in /usr/include. If it isn't, perhaps you haven't installed Xcode and the Xcode command line tools. Both are required for MacPorts.
You right, I've missed Xcode command line tools Thank you -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X