Error C Compiler Cannot Create Executables Rvm
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you
Configure Error C Compiler Cannot Create Executables Rvm
might have Meta Discuss the workings and policies of this error c compiler cannot create executables ubuntu site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers configure error c compiler cannot create executables see config log for more details or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Configure Error C Compiler Cannot Create Executables Solaris
of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up configure: error: C compiler cannot create executables up vote 105 down vote favorite 23 I've checked a number of similar questions on stackoverflow but haven't found an answer yet. I'm trying to install memcached on
Configure Error C Compiler Cannot Create Executables Gentoo
Lion OSX as shown here. 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... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/tmp/libevent-1.4.12-stable': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** No targets specified and no makefile found. Stop. I've reinstalled Xcode as was recommended in a couple places, but no dice. Here's my config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostnam
Sign in Pricing Blog Support Search GitHub This repository Watch 297 Star 8,691 Fork 811 rbenv/rbenv Code Issues 34 Pull requests configure error c compiler cannot create executables macports 14 Projects 0 Wiki Pulse Graphs New issue configure: error: C
Configure Error C Compiler Cannot Create Executables Solaris 10
compiler cannot create executables #440 Closed tellijo opened this Issue Sep 1, 2013 · 16 comments Projects None configure error c compiler cannot create executables python yet Labels None yet Milestone No milestone Assignees No one assigned 15 participants tellijo commented Sep 1, 2013 I try to install the last stable http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables version of ruby. 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... x86_64-apple-darwin12.4.0 checking host system type... x86_64-apple-darwin12.4.0 checking target system type... x86_64-apple-darwin12.4.0 checking for gcc-4.2... gcc-4.2 checking for gcc... (cached) gcc-4.2 checking whether the C compiler works... https://github.com/rbenv/rbenv/issues/440 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. Stop. 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 but there is still the error. mislav commented Sep 1, 2013 This should be reported to the ruby-build project, where rbenv install comes from, which handles compiling Rubies. But for now: What's your rbenv install --version What's your llvm-gcc --version What's your xcode-select -print-path Does this help: xcode-select -switch /Applications/Xcode.app/Contents/Developer 👍 1 tellijo commented Sep 1, 2013 rbenv install --version: ruby-build 20130806 llvm-gcc --version: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. 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? It shouldn't be necessary for building Ruby 2.0, but just checking the state of your system. So far everything checks
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies http://superuser.com/questions/759363/upgraded-to-mavericks-c-compiler-cannot-create-executables of this site About Us Learn more about Stack Overflow the company Business http://askubuntu.com/questions/347466/configure-error-c-compiler-cannot-create-executables Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a error c question Anybody can answer The best answers are voted up and rise to the top Upgraded to Mavericks, C compiler cannot create executables up vote 2 down vote favorite Upgrading to Mavericks, I appear to have broken my Ruby on Rails development environment, which requires ruby 1.9.3 because of various gem dependencies. Within that app directory, I'm trying to reinstall ruby 1.9.3-p547: rvm error c compiler reinstall ruby-1.9.3-p547 I then get an error: checking whether the C compiler works... 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 found I can see that other people have encountered issues vis-à-vis upgrading to Mavericks and having c compiler issues, but I can't find any referencing this specific library or what I should do (reinstall gcc? is that even a thing I can do?) Many solutions mention accepting an XCode license agreement, which I have done, and the problem persists. 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. ruby xcode gcc share|improve this question asked May 27 '14 at 16:08 user2272439 1113 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Command Line tools (gcc goodies) do not come installed with Mavericks (insert bad word here). You need to download the latest and great xcode, go into the xcode prefs an
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 answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 top configure: error: C compiler cannot create executables up vote 10 down vote favorite 5 I was trying to install rvm using \curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles. It worked fine until I got a configure error: Error running './configure --prefix=/home/nishant/.rvm/rubies/ruby-2.0.0-p247 --disable-install-doc --enable-shared', please read /home/nishant/.rvm/log/1379591052_ruby-2.0.0-p247/configure.log There has been an error while running configure. Halting the installation. Following are the contents of the mentioned log file: [2013-09-19 17:15:58] ./configure current path: /home/nishant/.rvm/src/ruby-2.0.0-p247 command(4): ./configure --prefix=/home/nishant/.rvm/rubies/ruby-2.0.0-p247 --disable-install-doc --enable-shared checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/nishant/.rvm/src/ruby-2.0.0-p247': configure: error: C compiler cannot create executables See `config.log' for more details I then tried a "hello world" C program and got the following error on compilation: nishant@nishant-Inspiron-1545:~$ gcc -g -o hello hello.c /usr/local/bin/ld: this linker was not configured to use sysroots collect2: error: ld returned 1 exit status I'm not sure why this error is thrown. I couldn't find a satisfactory answer to this on the f