在Mac OS 10.13.6上使用xcode 10安装graphviz 2.40.1应用程序时出错

时间:2018-09-18 09:40:45

标签: macos graphviz

这是终端日志。有什么建议吗?

  

最后一次登录:在控制台Marks-MacBook-Pro上,9月18日星期二18:31:24:〜   markklein $ brew卸载graphviz错误:无此类桶:   / usr / local / Cellar / graphviz Marks-MacBook-Pro:〜markklein $ brew安装   graphviz --with-app   ==>下载https://www.mirrorservice.org/sites/distfiles.macports.org/graph   已下载:   /Users/markklein/Library/Caches/Homebrew/downloads/1c469743457f48b96f1f3fca3f9444a15736b2840413f31cc7e5f4a6bb5c8510--graphviz-2.40.1.tar.gz   ==> ./configure --prefix = / usr / local / Cellar / graphviz / 2.40.1 --without-qt --with-q   ==>进行安装   ==> xcodebuild SDKROOT = / Applications / Xcode.app / Contents / Developer / Platforms / MacO最后   从15行   /Users/markklein/Library/Logs/Homebrew/graphviz/03.xcodebuild:25   libdyld.dylib 0x00007fff55528015开始+ 1 26   ??? 0x0000000000000015 0x0 + 21)   libc ++ abi.dylib:以类型未捕获的异常终止   NSException命令CompileXIB失败,退出代码非零

     

**生成失败**

     

以下构建命令失败:CompileXIB   /tmp/graphviz-20180918-1135-ze21bq/graphviz-2.40.1/macosx/English.lproj/MainMenu.xib     编译XIB   /tmp/graphviz-20180918-1135-ze21bq/graphviz-2.40.1/macosx/English.lproj/Export.xib     编译XIB   /tmp/graphviz-20180918-1135-ze21bq/graphviz-2.40.1/macosx/English.lproj/Document.xib     编译XIB   /tmp/graphviz-20180918-1135-ze21bq/graphviz-2.40.1/macosx/English.lproj/Attributes.xib   (4个失败)/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:49:in   write': Broken pipe (Errno::EPIPE) from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:49:in个来自   /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:49:in rescue in block (3 levels) in safe_fork' from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:31:in block(3   级别)在“ safe_fork”中   /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:30:in fork' from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:30:in block(2   级别)在“ safe_fork”中   /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:27:in open' from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:27:in中的   safe_fork'来自   /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/tmpdir.rb:89:in   mktmpdir' from /usr/local/Homebrew/Library/Homebrew/utils/fork.rb:26:in safe_fork'     来自/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:719:in   从build' from /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:311:in 安装   /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:321:in   install_formula' from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:253:in封锁   从安装   /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:在each' from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in 中从/usr/local/Homebrew/Library/Homebrew/brew.rb:89:in安装   `'

     

请阅读:https://docs.brew.sh/Troubleshooting

     

Marks-MacBook-Pro:〜markklein $

1 个答案:

答案 0 :(得分:0)

尝试一下:

-从App Store更新Xcode

-从应用程序中打开Xcode并接受任何新条款

酿造升级

-brew卸载graphviz

-brew安装graphviz --with-app