Opened 9 years ago

Closed 9 years ago

#51433 closed defect (duplicate)

graphite2: fatal error: 'unistd.h' file not found

Reported by: joyeeabroad@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: graphite2

Description

My Mac is OSX Yosemite version 10.10.5, Xcode 7.2(7C68) Fail to install graphite2 when I want to install wine. How can I fix that? Thank you!

Error: org.macports.build for port graphite2 returned: command execution failed
Error: Failed to install graphite2
Please see the log file for port graphite2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/main.log
Error: The following dependencies were not installed: gstreamer010-gst-plugins-base gnome-vfs gconf gtk3 pango harfbuzz graphite2 xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit mozjs17 autoconf213 perl5 nspr gnome-mime-data iso-codes libogg libtheora libvorbis orc coreutils xorg-libXv xorg-videoproto lcms2 libGLU
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed

Attachments (1)

main.log (49.0 KB) - added by joyeeabroad@… 9 years ago.
log mail

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by joyeeabroad@…

Attachment: main.log added

log mail

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

Owner: changed from macports-tickets@… to ryandesign@…
Port: graphite2 added
Summary: Processing of port wine failedgraphite2: fatal error: 'unistd.h' file not found

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.

comment:2 in reply to:  1 Changed 9 years ago by joyeeabroad@…

Replying to 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.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #49325.

Note: See TracTickets for help on using tickets.