Home > C Compiler > C Compiler Cannot Create Executables Os X 10.8

C Compiler Cannot Create Executables Os X 10.8

What exactly does Macports interact with outside of /opt ? You must agree to both license agreements below in order to use Xcode. [...] After you have accepted it, the commandline tools will work as expected. Safely adding insecure devices to my home network Determine maximum frequency of input signal to make system LTI Does a key signature go before or after a bar line? Does that look right? this contact form

That is not where MacPorts looks for them. It turns out that cc is also located in /usr/bin as well as /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD‌efault.xctoolchain/u‌sr/bin/. But I have this error: BUILD FAILED Inspect or clean up the working tree at /var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559 Results logged to /var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559.log Last 10 log lines: checking build system type... 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

Totally worked for me. Thanks anyway for your help. not going to completely uninstall and reinstall Xcode every time I want to use macports. configure: checking for APR...

It was created by configure, which was generated by GNU Autoconf 2.61. First Skills to Learn for Mountaineering Center trace between two pads In a company crossing multiple timezones, is it rude to send a co-worker a work email in the middle of awk checking whether make sets $(MAKE)... Granting write permissions to the group did not help.

checking whether we are cross compiling... Because either the dev who wrote the script screwed up or Apple screwed up. configure: checking for APR-util... try here Is "she don't" sometimes considered correct form?

I had this problem when I was upgrading port: checking whether the C compiler works... The answer by steroscott fixed my issue a while back...this time around not the case. I saw from other answers that the problem was with apxr and thus APR returning the wrong location for gcc. When I run the ./configure command I got the following output: checking for chosen layout...

Why don't we use the étale definition of sheaves in Algebraic Geometry lowercase breadcrumbs Why are Squibs not notified by the Ministry of Magic Player claims their wizard character knows everything https://discussions.apple.com/thread/4155902?tstart=0 If you wish to download and install a newer version, it compiles perfectly. I changed one method signature and broke 25,000 other classes. To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE.

All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.  Apple Support Communities More ways to shop: Visit an Apple weblink macos xcode open-source gcc share|improve this question edited Nov 20 '15 at 23:41 bmike♦ 117k38203445 asked Nov 20 '15 at 21:17 Knows Not Much 2891412 For current OS X However it does just run a copy of clang: here's my shell output oxygen:~ saran$ gcc clang: error: no input files. a.out checking for suffix of executables...

Looking at the output of ./configure --help again: Usage: ./configure [OPTION]... [VAR=VALUE]... Next, you could dig into the actual specific error log or you could try getting a gcc compiler instead of using Apple's llvm. In my case rvm is trying to use a downloaded gcc via homebrew. navigate here Not the answer you're looking for?

Also, for those that use port over brew, sudo port install apple-gcc42 works as well (except on Yosemite or later, but there's an open issue on that). Darn iPhone assisted keyboard input… comment:12 follow-up: ↓ 13 Changed 5 years ago by [email protected]… /opt and all it's subfolders are owned by my (admin) user and the staff group. Lesson learned: use a proper text editor...

Join them; it only takes a minute: Sign up configure: error: C compiler cannot create executables up vote 106 down vote favorite 23 I've checked a number of similar questions on

false configure: error: pcre-config for libpcre not found. I can also do gcc --version and I see Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin14.5.0 Thread model: posix Now if I do wget http://apache.mirrors.pair.com//httpd/httpd-2.4.17.tar.bz2 brew install configure: error: in `/tmp/libevent-1.4.12-stable': configure: error: C compiler cannot create executables See `config.log' for more details. Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Toggle navigation flurischt.ch About Contact Misc Tech OSX 10.10 (yosemite): configure: error: C compiler cannot create executables Date Sat 18 October

Have you checked that? what was I going to say again? Here's what I'm getting: j-court-demones-macbook-pro:libevent-1.4.12-stable jcourtdemone$ ./configure; make checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... his comment is here Print a letter Fibonacci How small could an animal be before it is consciously aware of the effects of quantum mechanics?

Solutions? share|improve this answer answered Apr 27 '12 at 21:59 Ken Thomases 50.9k44877 3 Thanks so much! Social twitter Github Linkedin Xing RSS Tags linux osx intellij homebrew arch c++ git ethz © 2016 Flurin Rindisbacher · Powered by pelican-bootstrap3, Pelican, Bootstrap Back to top share|improve this answer edited Mar 24 at 2:07 answered May 25 '15 at 17:48 coderSeb 114 add a comment| Your Answer draft saved draft discarded Sign up or log in

On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? I used "xcode-select --install" and it worked perfectly. –Blairg23 Jul 9 '14 at 19:23 This seems to fix the issue on Yosemite; even though XCode 6 now comes with It's hard to guess if that's because it doesn't like clang/llvm which is what your "gcc" binary actually is. 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 configure: error: in `/Users/dsfaulkenberry/.rvm/src/ruby-1.9.3-p547': configure: error: C compiler cannot create executables Looking at the config.log file (~/.rvm/src/ruby-1.9.3-p547/config.log), I see: dyld: Library not loaded: /usr/local/opt/cloog-ppl015/lib/libcloog.0.dylib Referenced from: /usr/local/Cellar/gcc46/4.6.4/gcc/libexec/gcc/x86_64-apple-darwin12.4.0/4.6.4/cc1 Reason: image not It links to the wrong compilers. 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 I really don't know where your problem is.

© Copyright 2017 mediastartpage.com. All rights reserved.