[MacPorts] #47412: uhd @3.8.2: fatal error: 'unistd.h' file not found (was: uhd 3.8.2 build failed)
MacPorts
noreply at macports.org
Sat Apr 11 01:28:26 PDT 2015
#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 |
--------------------------+-------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => michaelld@…
* keywords: unistd.h file not found =>
Old description:
> 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
New description:
{{{
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
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/47412#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list