#51433: graphite2: fatal error: 'unistd.h' file not found ----------------------------+-------------------------- Reporter: joyeeabroad@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: graphite2 | ----------------------------+-------------------------- Comment (by joyeeabroad@…): Replying to [comment:1 ryandesign@…]: Thanks for reply. It works after I install the Xcode commandline tools! You sir are awesome and reply so quick. Thanks again!
The error shown in the log is:
{{{ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build ^ }}}
Have you installed the Xcode commandline tools? If not, please do.
-- Ticket URL: <https://trac.macports.org/ticket/51433#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X