Opened 10 years ago
Closed 10 years ago
#47412 closed defect (invalid)
uhd @3.8.2: fatal error: 'unistd.h' file not found
Reported by: | vmagditch@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
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
Attachments (1)
Change History (7)
Changed 10 years ago by vmagditch@…
comment:1 follow-up: 3 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 failed → uhd @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.
comment:2 follow-up: 4 Changed 10 years ago by michaelld (Michael Dickens)
I'll 2nd Ryan's post:
1) I'm guessing you updated to the new Xcode, but didn't get the CLI tools. You can do this via:
xcode-select --install
2) In the future, we appreciate full logs starting from "clean", e.g.:
sudo port clean uhd sudo port install uhd
and, then if the build errors out you'll have a clean log to post.
comment:3 Changed 10 years ago by vmagditch@…
Replying to ryandesign@…:
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.
You right, I've missed Xcode command line tools Thank you
comment:4 Changed 10 years ago by vmagditch@…
Replying to michaelld@…:
I'll 2nd Ryan's post:
1) I'm guessing you updated to the new Xcode, but didn't get the CLI tools. You can do this via:
xcode-select --install2) In the future, we appreciate full logs starting from "clean", e.g.:
sudo port clean uhd sudo port install uhdand, then if the build errors out you'll have a clean log to post.
:-) Short and sweet :-) Many thinks, I've got it
comment:6 Changed 10 years ago by larryv (Lawrence Velázquez)
Resolution: | → invalid |
---|---|
Status: | new → closed |
log