The time now is 01:31 PM. Browse other questions tagged osx memcached osx-lion libevent or ask your own question. If you want to build using the standard system versions of the build tools, you will need to adjust your PATH environment variable so that it searches /usr/bin ahead of /usr/local/bin 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 Source
share|improve this answer edited Jan 27 '13 at 3:26 community wiki 16 revs, 4 users 73%Arkku 3 The GCC-10.7.pkg didn't do it for me – I think it may only Edit: https://github.com/kennethreitz/osx-gcc-installer/downloads may help for installing GCC. Anyway, I did everything this author told me, and now I have my first rails app! Here is a gist for results of: rvm install 1.9.3 --debug https://gist.github.com/richardun/075725183e36dc4d67c7 Also, here is my ~/.rvm/src/ruby-1.9.3-p550/config.log: https://gist.github.com/richardun/423b095f947153ce41b6 Can you please help me figure out what's going on? http://stackoverflow.com/questions/8032824/cant-install-ruby-under-lion-with-rvm-gcc-issues
Instead I had: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain The C compiler ("cc") is located inside of that xctoolchain directory. share|improve this answer answered Aug 18 '13 at 5:02 Nils 3,15722336 add a comment| up vote -1 down vote Try: rvm install 1.9.3 --force-autoconf share|improve this answer answered Jan 4 '12 This was on a brand new Lion with Xcode (had no "traditional" GCC).
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. miyagawa pushed a commit that referenced this issue Dec 11, 2015 mislav Fix installer script changing into current directory Configure Error C Compiler Cannot Create Executables Gentoo Register Lost Password Login Home News Guide Mailing Lists New Ticket Ticket Reports Ticket Search Ticket Query Projects Apple Lossless Audio Codec Calendar and Contacts Server DarwinBuild Darwin Streaming Server DCERPC
The contents of /Users/Joshua/.rvm/src/ruby-1.9.3-p448/config.log is located at the Gist below. Error C Compiler Cannot Create Executables Ubuntu With support like this, I'm done with MacPorts completely. A Riddle of Feelings If I am fat and unattractive, is it better to opt for a phone interview over a Skype interview? Homepage You need to download the latest and great xcode, go into the xcode prefs and install the command line tools (I believe it's under General).
richardun commented Nov 5, 2014 Just FYI, a few more things. Configure Error C Compiler Cannot Create Executables Macports Register. 11-04-2013 #1 MintN00b View Profile View Forum Posts Private Message View Articles Just Joined! x86_64-apple-darwin11.2.0 checking target system type... use --with-baseruby option.; false' BTESTRUBY='' BUILTIN_ENCOBJS='' BUILTIN_TRANSOBJS='' BUILTIN_TRANSSRCS='' CAPITARGET='' CC='gcc' CCDLFLAGS='' CFLAGS='' CHDIR='' COMMON_HEADERS='' COMMON_LIBS='' COMMON_MACROS='' COUTFLAG='' CP='' CPP='' CPPFLAGS='' CPPOUTFILE='' CROSS_COMPILING='' CXX='' CXXFLAGS='' DEFS='' DLDFLAGS='' DLDLIBS='' DLEXT2='' DLEXT='' DLLWRAP='' DLNOBJ=''
Invocation command line was $ ./configure --prefix=/Users/jamie/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/jamie/.rvm/usr ## --------- ## ## Platform. ## ## --------- ## hostname = Wilson.local uname -m = x86_64 uname -r = 11.2.0 uname read the full info here This pulls from the head of the git repo and may not be stable. Configure Error C Compiler Cannot Create Executables Rvm Ruby 1.9.3-p125 and later have official support for clang, so if you are installing such a version you should not need GCC. Configure Error C Compiler Cannot Create Executables See Config Log For More Details My adviser wants to use my code for a spin-off, but I want to use it for my own company Why are three-bladed helicopters relatively rare?
I already tried: Reinstalled GCC / build-essential / G++ Installed gcc-multilib, g++-multilib (although I don't think I need it) Reinstalled RVM Did upgrades, dist-upgrade, now got newest linux-kernel-headers, then reinstalled gcc this contact form I've reinstalled Xcode as was recommended in a couple places, but no dice. the sun is new every day (heraclitus) Reply With Quote Quick Navigation Applications Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Linux Forums Linux Forums 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 Configure Error C Compiler Cannot Create Executables Solaris
I think I downloaded it as some point. Lesson learned: use a proper text editor... 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 have a peek here Using rvm 1.10.0 none of the above worked for me.
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. Configure Error C Compiler Cannot Create Executables Solaris 10 Three rings to rule them all (again) How can I have low-level 5e necromancer NPCs controlling many, many undead in this converted adventure? These tools seemed to install the compiler where it was needed.
Terms Privacy Security Status Help You can't perform that action at this time. Since " dpkg --list | grep 'linux-headers'" gives me two different package versions, I don't know if everything is correct here..: Code: $ uname -r 3.8.0-19-generic $ dpkg --list | grep mislav commented Sep 1, 2013 This should be reported to the ruby-build project, where rbenv install comes from, which handles compiling Rubies. Configure Error C Compiler Cannot Create Executables Python Inserting a DBNull value in database What is the difference between SAN and SNI SSL certificates?
To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now Added the following line to my .rvmrc: export rvm_configure_flags="--with-gcc=clang" Worked as required rvm upgrade ruby-1.9.2-p290 ruby-1.9.3-p125 ... Install Setup not working How to mix correctly? Check This Out On my system, this fails (in the ./configure-process).
Why don't you connect unused hot and neutral wires to "complete the circuit"? share|improve this answer edited Sep 27 at 6:47 Tshilidzi Mudau 1,644719 answered Sep 27 at 1:08 user599717 11 add a comment| Your Answer draft saved draft discarded Sign up or Are backpack nets an effective deterrent when going to rougher parts of the world? and it all worked!
English equivalent of the Portuguese phrase: "this person's mood changes according to the moon" Is it a fallacy, and if so which, to believe we are special because our existence on The answer by steroscott fixed my issue a while back...this time around not the case. Support Apple Support Communities Shop the Apple Online Store (1-800-MY-APPLE), visit an Apple Retail Store, or find a reseller. Apple Info Site Map Hot News RSS Feeds Contact Us Copyright © Apple Inc.
Sign in. I looked at the config.log file, and found the problem. no checking for mawk... Then reboot.
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? My experiences have shown, local compiling of anything at all complex, is best done while running a kernel that you yourself have compiled. This is free software; see the source for copying conditions. x86_64-apple-darwin11.2.0 checking whether the C compiler works...
Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 Primary memory available: 8.00 gigabytes Default processor set: 110 tasks, 546 threads, 4 processors Load average: 1.28, Mach factor: 2.71 Reload to refresh your session. x86_64-unknown-linux-gnu checking target system type... So dont add.
Anyway, I did everything this author told me, and now I have my first rails app! Go ahead and close the Q/A then =) –Jason McD Jul 24 '14 at 20:08 add a comment| You must log in to answer this question.