homebrew 安装 freetype 报错,求解

发布于 2022-08-28 11:15:17 字数 1773 浏览 7 评论 0

系统版本:OS X 10.6.8,错误信息如下:

TranchmatoMacBook:local tranch$ brew install freetype
Warning: Your Xcode (3.2.2) is outdated
Please update to Xcode 3.2.6.
Xcode can be updated from https://developer.apple.com/downloads/
clang version 1.0.2 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-32 exported)
Target: x86_64-apple-darwin10
==> Downloading https://downloads.sf.net/project/freetype/freetype2/2.5.2/freetype-2.5.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/freetype-2.5.2.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/freetype/2.5.2
==> make
builds/unix/ftsystem.c:369: error: 'Cannot_Open_Stream' undeclared (first use in this function)
/private/tmp/freetype-zo03/freetype-2.5.2/src/base/ftdebug.c:46:10: error: #include expects "FILENAME" or <FILENAME>
make: *** [/private/tmp/freetype-zo03/freetype-2.5.2/objs/ftsystem.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/private/tmp/freetype-zo03/freetype-2.5.2/objs/ftdebug.lo] Error 1
Error: Homebrew doesn't know what compiler versions ship with your version
of Xcode (3.2.2). Please `brew update` and if that doesn't help, file
an issue with the output of `brew --config`:
  https://github.com/Homebrew/homebrew/issues

Note that we only track stable, released versions of Xcode.

Thanks!
clang version 1.0.2 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-32 exported)
Target: x86_64-apple-darwin10

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
Fix podofo on Mavericks and freetype 2.5.1 (https://github.com/Homebrew/homebrew/pull/26888)
mplayer-1.1.1 builds but does not find freetype (no osd) (https://github.com/Homebrew/homebrew/issues/26126)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

思念满溢 2022-09-04 11:15:17
Warning: Your Xcode (3.2.2) is outdated
Please update to Xcode 3.2.6.
Xcode can be updated from https://developer.apple.com/downloads/
...
Error: Homebrew doesn't know what compiler versions ship with your version of Xcode (3.2.2)....
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文