C Compiler Cannot Create Executables Mac Os X Mountain Lion
To build older versions of Ruby you must have the official GCC compiler installed on your system. I decided to start from scratch, uninstalled and cleaned all my ports, downloaded the latest Xcode package from the Apple App Store and installed it, then downloaded the latest MacPorts installer Here's my config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. That is not where MacPorts looks for them. weblink
You signed in with another tab or window. configure: checking for APR-util... Use the macports-users mailing list for further help. You need Xcode's Command Line Tool. http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables
Configure: Error: C Compiler Cannot Create Executables Mac
If you are having specific problems, I suggest you post exactly what problems you are having in your own thread in the Developer Forums. build 5658) (LLVM build 2336.1.00)configure:1772: $? = 0configure:1774: gcc -V &5llvm-gcc-4.2: argument to `-V' is missingconfigure:1777: $? = 1configure:1800: checking for C compiler default output file nameconfigure:1803: gcc conftest.c >&5ld: Invocation command line was $ ./configure ## --------- #### Platform. #### --------- ##hostname = kanoumatoMac-mini.localuname -m = x86_64uname -r = 12.0.0uname -s = Darwinuname -v = Darwin Kernel Version 12.0.0: Sun First of all, make sure you have upgraded your commandline tools: $ xcode-select --install Now Apple wants you to agree to their license before you can use these tools: $ gcc
Lesson learned: use a proper text editor... build 5658) (LLVM build 2336.11.00) So I created a symlink: cd /usr/bin sudo ln -s gcc gcc-4.2 And it worked! (the config.log file is located in the directory that make is I have a fresh installation of OSX 10.8 and the latest Xcode + Command Line Tools, so this doesn't seem to have been a problem related to upgrading OSX. –James Sep Configure: Error: C Compiler Cannot Create Executables Python Installed a seemingly unrelated gem? –Leonard Jul 24 '14 at 18:07 LOL Not sure.
The issue her seem to be one of have the developer tools installed and configured ('course, I thought they were installed by default on Lion). Configure: Error: C Compiler Cannot Create Executables Linux Have you checked that? If I receive written permission to use content from a paper without citing, is it plagiarism? https://github.com/rbenv/rbenv/issues/440 A Stack Overflow user suggested uninstalling gcc through homebrew which I have done to no avail, and another user has suggested reinstalling homebrew itself, which I will try.
Try cleaning. ("sudo port clean gperf") comment:9 in reply to: ↑ 8 Changed 5 years ago by [email protected] Replying to [email protected]: I can't explain why that's happening, except perhaps if you had Configure Error Cannot Run C Compiled Programs. If You Meant To Cross Compile Use --host' I'm out of ideas. Nov 10, 2012 9:07 AM Helpful (0) Reply options Link to this post Apple Footer This site contains user submitted content, comments and opinions and is for informational purposes only. How is True < 2 implemented?
Configure: Error: C Compiler Cannot Create Executables Linux
It was all writable by the owner but not the group. comment:18 Changed 5 years ago by [email protected] I can't believe it - it was working with a fresh install of Lion, but I just tried a port upgrade outdated, and I'm Configure: Error: C Compiler Cannot Create Executables Mac comment:24 Changed 5 years ago by [email protected] Resolution set to invalid Status changed from reopened to closed It's still a setup problem. Checking Whether The C Compiler Works... No Mac United States Copyright © Apple Inc.
Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. have a peek at these guys comment:21 Changed 5 years ago by [email protected] Resolution set to invalid Status changed from new to closed This is a setup issue. First, if you read the installation notes for RVM you'll see the following: For Lion, Rubies should be built using gcc rather than llvm-gcc. How to deal with a coworker that writes software to give him job security instead of solving problems? Configure Error C Compiler Cannot Create Executables Ubuntu
Not the answer you're looking for? Now for the next round of difficulties... –CourtDemone Apr 27 '12 at 23:14 4 If you are reading this answer, this is definitely something you should do, but be aware No, that's just how the macports installer created it. check over here no configure: error: in `/Users/abhi/Downloads/httpd-2.4.17': configure: error: C compiler cannot create executables See `config.log' for more details Why can't the C compiler create executable?
checking host system type... Configure Error C Compiler Cannot Create Executables Centos share|improve this answer edited Nov 13 '15 at 12:57 answered Oct 23 '15 at 8:19 Florin Odagiu 767 add a comment| up vote 0 down vote In my case, I tried Or something?
share|improve this answer edited Sep 18 at 19:31 grgarside 75.4k14115170 answered Sep 18 at 18:57 Manfred Berndtgen 213 add a comment| up vote 1 down vote You need to convince configure
asked 11 months ago viewed 3208 times active 1 month ago Related 1How to compile gcc-4.0 on Mountain Lion?1How do I specify what is used as the real C compiler?1Issue installing Totally worked for me. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the See `config.log' For More Details x86_64-apple-darwin12.4.0 checking target system type...
Balazs comment:26 in reply to: ↑ 25 ; follow-up: ↓ 27 Changed 4 years ago by [email protected] Replying to [email protected]: Hi, Had the same problem and found the solution on an other bug. Does that look right? hiteshsharma commented Feb 20, 2014 I preferred using gcc instead of apple-gcc so I made a symlink to gcc ln -s /usr/bin/gcc /usr/bin/gcc-apple-4.2 aemadrid commented Aug 26, 2014 This helped me this content Try: export CC=clang share|improve this answer answered Nov 23 '15 at 21:30 bbaassssiiee 1584 add a comment| up vote 0 down vote In general, having Xcode installed isn't enough to get
config/install-sh -c -d checking for gawk... x86_64-apple-darwin12.4.0 checking host system type...