在Mac上安装ige-mac-integration时出错

时间:2013-03-16 13:23:25

标签: macos compiler-errors gtk

我通过以下命令为GTK安装了Mac OS

port install gtk2 +quartz +no_x11

但收到错误:Error: org.macports.archivefetch for port gtk2 returned: cairo must be installed with +quartz.

所以我安装了cairopango +quartz标志:

port install cairo +no_x11 +quartz
port install pango +no_x11 +quartz

重新安装GTK后,它已成功安装。

但是当我尝试安装ige-mac-integration时出错:

port install ige-mac-integration

--->  Fetching archive for py27-pygtk
Error: org.macports.archivefetch for port py27-pygtk returned: gtk2 must be installed with +x11.

但我需要GTK而不需要x11

我该怎么办?

谢谢,

1 个答案:

答案 0 :(得分:1)

不推荐使用ige-mac-integration

改为使用gtk-osx-application

port install gtk2 +quartz +no_x11

port install gtk-osx-application -python27