gcc version 4.2.1 (Based on Apple Inc. x86_64-apple-darwin15.0.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... Thanks :) –Hexa Aug 18 at 16:13 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign Terms Privacy Security Status Help You can't perform that action at this time. http://kelcours.com/c-compiler/error-c-compiler-cannot-create-executables.html
gcc is reporting its version as 4.0.1. grantgeorge commented Aug 24, 2015 @yagudaev @hiteshsharma helped me, thanks ;) t0d0r commented Oct 27, 2015 Hi, I managed to compile ruby 1.8.7-p375 on El Capitan (10.11.1), here's how: brew install The usage of "le pays de..." Why do languages require parenthesis around expressions when used with "if" and "while"? yes checking how to create a ustar tar archive... http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables
gcc-4.2 checking for gcc... (cached) gcc-4.2 checking whether the C compiler works... Empty lines or not? mistydemeo commented Dec 1, 2015 The software that failed was ppl011 - can you run brew gist-logs ppl011 please? I still always got error when install something needed to compile.
build 5484) Copyright (C) 2005 Free Software Foundation, Inc. What crime would be illegal to uncover in medieval Europe? What would be the consequences of a world that has only one dominant species of non-oceanic animal life? Brew Checking Whether The C Compiler Works... No awk checking whether make sets $(MAKE)...
All good. –james2doyle Aug 27 '13 at 21:09 1 After much searching this is exactly the trick I needed! GO OUT AND VOTE query-replace-regexp on specific lines At delivery time, client criticises the lack of some features that weren't written on my quote. no configure: error: in /private/tmp/ppl01120151202-28277-8m7bvw/ppl-0.11':
configure: error: C compiler cannot create executables
Seeconfig.log' for more details READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/homebrew/homebrew-versions/issues These http://apple.stackexchange.com/questions/249699/configure-error-c-compiler-cannot-create-executables-ld-unknown-option-no Nov 10, 2012 4:37 AM Helpful (0) Reply options Link to this post by etresoft, etresoft Nov 10, 2012 9:07 AM in response to sahenke Level 7 (29,540 points) Nov 10,
no checking for --with-universal-archs... 32-bit checking MACHDEP... Configure: Error: C Compiler Cannot Create Executables Python In my case rvm is trying to use a downloaded gcc via homebrew. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc.
Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. https://github.com/Homebrew/legacy-homebrew/issues/46533 Homebrew member ilovezfs commented Mar 29, 2016 Why aren't we just doing brew install qemu? Checking Whether The C Compiler Works... No Mac TO FIX THE PROBLEM: Install Homebrew's apple-gcc42 package with this command: brew tap homebrew/dupes ; brew install apple-gcc42 –schmijos Dec 19 '14 at 10:27 add a comment| up vote 2 down C Compiler Cannot Create Executables Mac El Capitan ConfigureLog.zip Homebrew member bfontaine commented Mar 29, 2016 Please post the output of brew gist-logs qemu.
no configure: error: in `/var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559/ruby-2.0.0-p247': configure: error: C compiler cannot create executables See `config.log' for more details make: *** No targets specified and no makefile found. Check This Out Already have an account? Antonym for Nourish Is privacy compromised when sharing SHA-1 hashed URLs? "Carrie has arrived at the airport for two hours." - Is this sentence grammatically correct? asked 2 months ago viewed 745 times active 27 days ago Related 1Homebrew breaks with gcc out-of-date after Lion OSX install8Change compile configuration of package installation in brew2Bash or sh cannot Configure Error C Compiler Cannot Create Executables Ubuntu
But other products like macvim have similar issues: jim$ brew install python ==> Downloading https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz Already downloaded: /Library/Caches/Homebrew/python-2.7.10.tgz ==> Downloading https://bugs.python.org/file30805/issue10910-workaround.txt Already downloaded: /Library/Caches/Homebrew/python--patch-c075353337f9ff3ccf8091693d278782fcdff62c113245d8de43c5c7acc57daf.txt ==> Downloading https://bugs.python.org/file40479/xcode-stubs-2.7.patch Already downloaded: /Library/Caches/Homebrew/python--patch-86714b750c887065952cd556f4d23246edf3124384f579356c8e377bc6ff2f83.patch ==> The solution I used was the same as Mostafa, I had to export 2 variables: export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc CPP='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E' This was one Mac OSX Mavericks share|improve this answer answered Dec 20 no configure: error: in `/private/tmp/xz-20160817-3709-1qc3b72/xz-5.2.2': configure: error: C compiler cannot create executables See `config.log' for more details READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/Homebrew/homebrew-core/issues Source Sign in.
I'm trying to install memcached on Lion OSX as shown here. Configure Error Cannot Run C Compiled Programs. If You Meant To Cross Compile Use --host' The first step is to make sure that the latest version of Brew is installed. I too had a fresh installation of OSX 10.8. –stereoscott Sep 11 '12 at 20:16 1 Fixed it for me on 10.8, thanks! –roguenet Sep 18 '12 at 22:05 1
x86_64-apple-darwin14.5.0 checking host system type... This may be left over from migrating from an older version of the OS. This site is not affiliated with or endorsed by Apple Inc. See `config.log' For More Details Reload to refresh your session.
Markus Östberg [email protected] markusos markusos markus_ostberg Software Engineer fascinated by the web, language processing, machine learning and robotics. no checking for awk... Will You (Yes, You) Decide The Election? have a peek here Does f:x mean the same thing as f(x)?
share|improve this answer answered Oct 17 '13 at 17:04 Homer 32129 add a comment| up vote 2 down vote Setting 'clang' as the compiler configure should use worked for me: export macos homebrew share|improve this question edited Oct 12 at 0:25 asked Aug 17 at 17:49 Hexa 917 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote I was just using login to get to my "admin" account to run brew commands and I was getting this error. asked 4 years ago viewed 117711 times active 3 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 48 Installing Nokogiri on OSX 10.10 Yosemite 76 xcrun: Error:
I don't know why or how. Sign in. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
© Copyright 2017 kelcours.com. All rights reserved.