0

我正在尝试在我的新 Mac 中安装 Plone。我在运行构建时遇到了困难:

Getting distribution for 'zope.security==3.7.4'.
unable to execute gcc-4.2: Too many levels of symbolic links
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1
An error occured when trying to install zope.security 3.7.4. Look above this message for          any errors that were output by easy_install.
While:
   Installing.
   Getting section instance.
   Initializing section instance.
   Installing recipe plone.recipe.zope2instance.
   Getting distribution for 'zope.security==3.7.4'.
Error: Couldn't install: zope.security 3.7.4

但是python安装确实说有gcc 4.2.1

Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

我不知道如何指向gcc正确的版本,或者可能是不同的问题。任何帮助或指针都会很棒。

我有 Mac OSX 10.7.5 并安装了 XCode。

谢谢。

4

1 回答 1

0

通过安装命令行工具解决。

于 2012-10-15T20:28:56.630 回答