4

刚做了一个brew install graphviz山狮这给了我这个错误

错误:执行失败:make install (graphviz.rb:47)

以为我会卸载它,所以跑了brew uninstall graphviz但是得到了

错误:没有这样的小桶:/usr/local/Cellar/graphviz

然后以为我会尝试brew doctor,但它给了我这个错误:

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libcdt.5.dylib    /usr/local/lib/libcgraph.6.dylib    /usr/local/lib/libgvc.6.dylib    /usr/local/lib/libgvpr.2.dylib    /usr/local/lib/libpathplan.4.dylib    /usr/local/lib/libxdot.4.dylib
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/libcdt.pc    /usr/local/lib/pkgconfig/libcgraph.pc    /usr/local/lib/pkgconfig/libgvc.pc    /usr/local/lib/pkgconfig/libgvpr.pc    /usr/local/lib/pkgconfig/libpathplan.pc    /usr/local/lib/pkgconfig/libxdot.pc

任何想法如何解决这一问题?

4

1 回答 1

9

尝试运行这些:

brew install libtool

然后尝试重新安装graphviz。

然后检查一下: xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion

于 2012-08-28T17:08:51.887 回答