安装Cairo的问题 - make [3]:*** [cairo-xlib-display.lo]错误1


0

使用home-brew安装Cairo Graphics需要一些帮助。我在某处错过了一步吗?

10:02:30-MaxAir @ [〜] $ brew install cairo

警告:建筑源;开罗酒窖的酒窖是/ usr / local / Cellar   ==>下载 http://cairographics.org/releases/cairo-1.12.16.tar.xz 已下载:/ Library/Caches/Homebrew/cairo-1.12.16.tar.xz   ==> ./configure --prefix = / Users / MaxAir / Homebrew / Cellar / cairo / 1.12.16_1 --enable-   ==> make install

make [3]:*** [cairo-xlib-display.lo]错误1

make [3]:***等待未完成的工作....

make [2]:*** [安装]错误2

make [1]:*** [install-recursive]错误1

make:*** [安装]错误2

我设法手动安装了Cairo,但这真的很痛苦,而不是家酿。

*更新此错误 错误:

BuildError:执行失败:make install   提高   忽略   3.回溯   伊尔布   贝壳   选择一个动作:3   /Users/MaxAir/Homebrew/Library/Homebrew/debrew.rb:10:in raise' /Users/MaxAir/Homebrew/Library/Homebrew/formula.rb:575:in 系统'   /Users/MaxAir/Homebrew/Library/Formula/cairo.rb:51:in install' /Users/MaxAir/Homebrew/Library/Homebrew/debrew.rb:21:in 阻止安装'   /Users/MaxAir/Homebrew/Library/Homebrew/debrew.rb:105:in debrew' /Users/MaxAir/Homebrew/Library/Homebrew/debrew.rb:21:in 安装'   /Users/MaxAir/Homebrew/Library/Homebrew/build.rb:137:in block in install' /Users/MaxAir/Homebrew/Library/Homebrew/formula.rb:272:in 酿造中的块'   /Users/MaxAir/Homebrew/Library/Homebrew/formula.rb:613:in block in stage' /Users/MaxAir/Homebrew/Library/Homebrew/resource.rb:66:in 阻止解压'   /Users/MaxAir/Homebrew/Library/Homebrew/extend/fileutils.rb:21:in mktemp' /Users/MaxAir/Homebrew/Library/Homebrew/resource.rb:63:in 解压”   /Users/MaxAir/Homebrew/Library/Homebrew/resource.rb:56:in stage' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/forwardable.rb:171:in 阶段'   /Users/MaxAir/Homebrew/Library/Homebrew/formula.rb:611:in stage' /Users/MaxAir/Homebrew/Library/Homebrew/formula.rb:267:in 酿造'   /Users/MaxAir/Homebrew/Library/Homebrew/build.rb:117:in install' /Users/MaxAir/Homebrew/Library/Homebrew/build.rb:186:in


对于初学者来说,当你把它放在除/ usr / local之外的某个地方时,自制软件并不是真的喜欢它,但是你没有粘贴实际的错误,只是父进程的错误,所以很难说实际上出了什么问题。
Michael D. M. Dryden

感谢回复队友。我会尝试得到实际的错误。对此不太熟悉。
Max

此外,如果您使用的是Mountain Lion或以上版本,可以安装一个自制的开罗瓶(二进制),无需编译即可为您节省一些麻烦。您可以看到自制软件在第一行尝试它,但大多数瓶子不支持在/ usr / local之外安装
Michael D. M. Dryden

如果你需要更详细的输出失败。尝试安装它 brew install -d cairo
konqui

多谢你们!!!我回家后会尝试一下。只是为了记录,我正在使用python-igraph来构建一些图形。如果我想绘制任何东西,那么需要开罗。 (R的igraph正在与cairo合作,但我不认为他们共享同一个库)
Max
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.