Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on OS X 10.11: "C compiler cannot create executables" #1

Closed
apjanke opened this issue Sep 14, 2015 · 0 comments
Closed

Comments

@apjanke
Copy link

apjanke commented Sep 14, 2015

I'm getting a build failure on my OS X 10.11 Public Beta machine with Xcode 7 GM installed.

$ ./configure
[...]
checking for APR-util... yes
checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

My configure logs are here: https://gist.github.com/apjanke/8b1c7ebb84e9176ae310

It might be that this configure is not getting Xcode's internal path structure right. Here's an excerpt from that config.log.

configure:2676: checking for C compiler default output file name
configure:2679: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/cc    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   conftest.c  >&5
./configure: line 2680: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/cc: No such file or directory

But that OSX10.11.xctoolchain doesn't exist. This Xcode.app is Xcode 7 GM. I checked Xcode 6.2 and 5.0.2 on OS X 10.9.5, and they only have XcodeDefault.xctoolchain, too.

[/Applications/Xcode.app/Contents/Developer/Toolchains]
$ ls
XcodeDefault.xctoolchain
[/Applications/Xcode.app/Contents/Developer/Toolchains]
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants