[MacPorts] #49325: graphite2 install fails

MacPorts noreply at macports.org
Fri Oct 16 19:14:08 PDT 2015


#49325: graphite2 install fails
--------------------------------+--------------------------------
  Reporter:  ryancclodfelter@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  closed
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.4
Resolution:  invalid            |   Keywords:
      Port:  graphite2          |
--------------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * status:  new => closed
 * resolution:   => invalid


Old description:

> `sw_vers`
> ProductName:     Mac OS X
> ProductVersion: 10.11
> BuildVersion:   15A284
>
> MacPorts 2.3.4
>
> Trying to install xymon-client. Was able to install almost all the
> dependencies for the xymon-client port, but it install graphite2 fails.
>
> Checking the log file, looks like it fails on this line:
> :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          ^
> :info:build 1 error generated.
>
> Running the command `xcode-select -p` shows that I have xcode command
> line tools installed: "/Applications/Xcode.app/Contents/Developer"
> However, when running sudo port install xymon-client, it gives me a
> warning message saying that it might not be installed...
>
> "Warning: The Xcode Command Line Tools don't appear to be installed; most
> ports will likely fail to build.
> Warning: Install them by running `xcode-select --install'."

New description:

 `sw_vers`
 {{{
 ProductName:     Mac OS X
 ProductVersion: 10.11
 BuildVersion:   15A284
 }}}

 MacPorts 2.3.4

 Trying to install xymon-client. Was able to install almost all the
 dependencies for the xymon-client port, but it install graphite2 fails.

 Checking the log file, looks like it fails on this line:
 {{{
 :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          ^
 :info:build 1 error generated.
 }}}

 Running the command `xcode-select -p` shows that I have xcode command line
 tools installed: "/Applications/Xcode.app/Contents/Developer"
 However, when running sudo port install xymon-client, it gives me a
 warning message saying that it might not be installed...

 {{{
 Warning: The Xcode Command Line Tools don't appear to be installed; most
 ports will likely fail to build.
 Warning: Install them by running `xcode-select --install'.
 }}}

--

Comment:

 `xcode-select -p` does not show whether you have the command line tools
 installed. It only shows which developer directory is selected.

 The solution is to install the Xcode command line tools by running `xcode-
 select --install`.

-- 
Ticket URL: <https://trac.macports.org/ticket/49325#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list