Xcode 自制软件对雪豹不起作用

Xcode 自制软件对雪豹不起作用,xcode,macos,gcc,osx-snow-leopard,homebrew,Xcode,Macos,Gcc,Osx Snow Leopard,Homebrew,我有一个OsX 10.6.8的新安装 昨天我安装了XCode 3.x,然后是自制的 brew doctor << was ok brew update << updated ok brew install python << gave an error similar to this one: ==> ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/C

我有一个OsX 10.6.8的新安装 昨天我安装了XCode 3.x,然后是自制的

brew doctor << was ok
brew update << updated ok
brew install python << gave an error similar to this one:


==> ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Ce
checking for gcc... llvm-gcc
checking for C compiler default output file name... 
configure: error: in `/private/tmp/readline-lGgV/readline-6.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
我认为这是一个问题,因为我的旧XCode,所以我卸载了它,然后加载了GCC-10.6.pkg,但错误是一样的

我认为osx gcc也可能过时,所以我设法找到了一个XCode 4.2并安装了它,但错误没有改变

我发现osX 10.6.8的Xcode没有命令行工具,所以现在我没有选择了。 有一个新版本的XCode 4.3.2与10.6.8兼容,但我没能得到它,现在我真的不认为这是个问题

所以,现在,我别无选择。 我无法升级到Lion,因为我的笔记本电脑不支持它。 可悲的是,昨天我决定格式化我的hd并重新安装OsX,只是为了有一个新的、新鲜的、干净的自制安装


请……帮助我

问题不是XCode/gcc安装,而是readline安装有问题。事实上,我手动构建并链接到自制软件中,然后我就能够从brew中正确安装python2.7。所以我用这个命令解决了我的问题:./configure-prefix=/usr/local/cillar/readline/6.2.4-mandir=/usr/local/cillar/readline/6.2.4/share/man-infodir=/usr/local/cillar/readline/6.2.4/share/info-enable multi-byte&&make&&make-install&brew-link-readline