我正在尝试在我的新Mac中安装Plone。我在运行buildout时遇到了困难:
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。
感谢。
答案 0 :(得分:0)
通过安装命令行工具解决。