Opened 10 years ago

Last modified 10 years ago

#47412 closed defect

uhd @3.8.2: fatal error: 'unistd.h' file not found — at Version 1

Reported by: vmagditch@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: uhd

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Error: org.macports.build for port uhd returned: command execution failed
:info:build /opt/local/include/boost/config/posix_features.hpp:18:15: fatal error: 'unistd.h' file not found

Change History (2)

Changed 10 years ago by vmagditch@…

Attachment: main.log added

log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: unistd.h file not found removed
Owner: changed from macports-tickets@… to michaelld@…
Summary: uhd 3.8.2 build faileduhd @3.8.2: fatal error: 'unistd.h' file not found

This was not a clean build attempt. Please 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.

Note: See TracTickets for help on using tickets.