Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Python compilation failure on Yosemite #33244

Closed
staticfloat opened this issue Oct 17, 2014 · 3 comments
Closed

Python compilation failure on Yosemite #33244

staticfloat opened this issue Oct 17, 2014 · 3 comments

Comments

@staticfloat
Copy link
Contributor

After working around #33242, I have come across this error when attempting to install python on OSX 10.10:

$ brew install python
==> Downloading https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
Already downloaded: /Library/Caches/Homebrew/python-2.7.8.tgz
==> Downloading http://bugs.python.org/file30805/issue10910-workaround.txt
Already downloaded: /Library/Caches/Homebrew/python--patch-9926640cb7c8e273e4b451469a2b13d4b9df5ba3.txt
==> Patching
patching file Include/pyport.h
Hunk #1 succeeded at 713 (offset 14 lines).
Hunk #2 succeeded at 736 (offset 14 lines).
./configure --prefix=/usr/local/Cellar/python/2.7.8_2 --enable-ipv6 --datarootdir=/usr/local/Cellar/p
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/python-2ilnha/Python-2.7.8':
configure: error: C compiler cannot create executables
See `config.log' for more details

Here is the relevant config.log. This is on a clean Yosemite install, with Xcode 6.0.1 and a clean brew doctor (other than it suggesting to install Xcode 6.1, which isn't available yet for me).

@mistydemeo
Copy link
Member

Xcode 6.0.1 doesn't include the 10.10 SDK - you need Xcode 6.1 or the 6.1 CLT to build software on Yosemite. I've heard it may be available to download manually?

@tdsmith
Copy link
Contributor

tdsmith commented Oct 17, 2014

I can download Xcode 6.1 here without developer program membership: https://developer.apple.com/downloads/index.action

@staticfloat
Copy link
Contributor Author

I can download the CLT, not Xcode proper. The CLT is enough for Homebrew though. :)

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants