Macos 执行gcc时符号链接级别过多

Macos 执行gcc时符号链接级别过多,macos,plone,Macos,Plone,我正试图在我的新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

我正试图在我的新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安装确实表明存在GCC4.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
指向正确的版本,或者可能是不同的问题。任何帮助或指点都会很好

我已经安装了MacOSX10.7.5和XCode


谢谢。

通过安装命令行工具解决了此问题