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

C Compiler Cannot Create Executables Os X Lion

Contents

I'm on mac OS 10.8 I opened xcode to see that the command line tool was not installed, so I installed it and I updated my rbenv and ruby-build using homebrew Browse other questions tagged osx memcached osx-lion libevent or ask your own question. 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. I changed the ownerships to root:wheel and tried again. his comment is here

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 /Users/Jeff/.rvm/src/yaml-0.1.4':
configure: error: C compiler cannot create executables
Seeconfig.log' for more details Essentially it means that "no acceptable compiler could be found." There 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 slater1 commented May 18, 2016 I was trying to build vim and came to this page on the search term "C compiler cannot create executables" The suggestion to use xcode-select was have a peek at this web-site

Osx Configure: Error: C Compiler Cannot Create Executables

comment:16 Changed 5 years ago by Veence (Vincent) Well, normally, if I’m not mistaken, Macports DO resign root privilege when not needed. Why did the best potions master have greasy hair? What exactly are sleeping stalls versus waiting-rooms, for airport layovers?

This site is not affiliated with or endorsed by Apple Inc. configure: error: C compiler cannot create executables :info:configure See `config.log' for more details. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/expat-2.0.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man " returned error 77 :error:configure Target org.macports.configure returned: Glad it's solved! Configure: Error: C Compiler Cannot Create Executables Centos Installed a seemingly unrelated gem? –Leonard Jul 24 '14 at 18:07 LOL Not sure.

Or! Configure: Error: C Compiler Cannot Create Executables Linux Next, you could dig into the actual specific error log or you could try getting a gcc compiler instead of using Apple's llvm. No, that's just how the macports installer created it. Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Open Menu Close Menu Apple Shopping Bag Apple Mac iPad iPhone Watch TV Music Support Search apple.com Shopping Bag : CommunitiesSign

You signed in with another tab or window. Install A 32 Bit Compiler Toolchain Does that look right? This site is not affiliated with or endorsed by Apple Inc. 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

Configure: Error: C Compiler Cannot Create Executables Linux

If that is the case this would be "tools unique to the programming profession" or what ever it is that the FAQ says. –dmckee Apr 28 '12 at 1:23 3 configure: error: C compiler cannot create executables This is most likely caused by an outdated or misconfigured C compiler. Osx Configure: Error: C Compiler Cannot Create Executables Solutions? Checking Whether The C Compiler Works... No Mac build 5658) (LLVM build 2336.11.00) xcode-select -print-path: /Applications/Xcode.app/Contents/Developer mislav commented Sep 1, 2013 Do you have "apple-gcc42" installed via Homebrew?

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science this content This happended because I made the mistake to use TextEdit (I'm working under MacOS), and this is apparently a feature called SmartQuotes: the quote sign CHANGES BY ITSELF TO THE ILLEGAL Browse other questions tagged macos xcode open-source gcc or ask your own question. So first install the command line tools then see the answer below by @sterescott and that should take care of your problems. Configure Error C Compiler Cannot Create Executables Ubuntu

All seemed to go OK until I tried to install my first port under the new installation, and it fails with the above error again. Is the English word "ikebana" a suitable translation for "華道"? Borders table Latex Assigning a unique representation to equivalent circular queues Could I work as a Professor in Europe if I only speak English? weblink The first one ( " ) is legal while the second one ( ” ) is not.

Some packages like mod_jk use /usr/sbin/apxs -q CC in configure to ask for the C compiler. See `config.log' For More Details The usual setup is for /opt/local and subfolders to be owned by root. If you use your Mac for any kind of development, chances are you also have the Mac’s missing package manager, Brew, installed.

Singular cohomology and birational equivalence Why did the best potions master have greasy hair?

i386-apple-darwin11.0.0 :info:configure checking for gcc... /Developer/usr/bin/llvm-gcc-4.2 :info:configure checking for C compiler default output file name... I tried that and it didn't work, so I decided to start completely from scratch and trashed /opt, restarted the computer, installed Macports again and I still can't install anything. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 294 Star 8,785 Fork 813 rbenv/rbenv Code Issues 36 Pull requests 14 Projects Checking For C Compiler Default Output File Name comment:27 in reply to: ↑ 26 Changed 4 years ago by [email protected] After installing Command Line Tool, I also had to do 'sudo xcode-select -switch /Applications/Xcode.app/' as described in ​this SO article.

By running the command xcode-select --install and following the steps of the installer will update the Xcode command line tools to the new version 7.0. APXS spits it out, but it has the wrong path so that's why you keep getting errors. –Adrian Rodriguez Nov 28 '12 at 0:10 1 This helped, but the final There's nothing to fix because it works fine for most people. check over here asked 4 years ago viewed 117602 times active 3 months ago Visit Chat Linked 48 Installing Nokogiri on OSX 10.10 Yosemite 76 xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'.

Did you run into any other problems after updating OS X El Capitan, leave a comment bellow. Totally worked for me. Nov 7, 2012 3:31 PM Helpful (0) Reply options Link to this post by sahenke, sahenke Nov 10, 2012 12:37 PM in response to jstanley70 Level 1 (5 points) Nov 10, share|improve this answer answered Nov 15 '13 at 4:56 konrad 1,2931221 2 This worked for me; Xcode was install (clean Mavericks installation) but the command-line tools weren't automatically installed. –JESii

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science comment:25 follow-up: ↓ 26 Changed 4 years ago by [email protected] Hi, Had the same problem and found the solution on an other bug. So far everything checks out. And most important, how do I fix it?

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 It was all writable by the owner but not the group. Not the answer you're looking for? Go into XCode/Preferences/Downloads tab and there you can install the Command Line Tool.

comment:14 in reply to: ↑ 13 Changed 5 years ago by [email protected] Replying to [email protected]: The usual setup is for /opt/local and subfolders to be owned by root. Safely adding insecure devices to my home network Mysterious creeper-like explosions Draw some mountain peaks Do students wear muggle clothing while not in classes at Hogwarts (like they do in the Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 4.00 gigabytes Default processor set: 109 tasks, 599 threads, 8 processors Load average: The first step is to make sure that the latest version of Brew is installed.

In my case I fixed the problem installing python by selecting Xcode 7.3.1 –Marco Pelegrini Jun 30 at 17:59 add a comment| up vote 138 down vote I have 10.8 installed no checking for awk... 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 Is it possible to write division equation in more rows?

comment:23 Changed 5 years ago by [email protected] Resolution invalid deleted Status changed from closed to reopened Now it isn't working again. 1 week later and the next time I tried to I eventually reinstalled Lion from scratch and Macports now works without issue. Sign up here Sign in with:

Home IT Blogs Image Galleries Contact Us About Us Copyright © IT Digest 2016 Powered by Elefant CMS 1.3.10 - Hosted by Web Hosting