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

Error C Compiler Cannot Create Executables Os X


So I'm back where I started, Macports is clearly conflicting with something I have installed on my system but I have no idea what. 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 Remedies Build for a 64 bit target (by removing the configure options forcing a 32 bit build), or Install a 32 bit compiler toolchain share|improve this answer edited Jul 24 '14 Is there a place in academia for someone who compulsively solves every problem on their own? have a peek here

You might run into this error message: $ brew update ... Note that downloading Xcode from the App Store only places the Xcode installer into the Applications folder; you still need to run that installer in order to actually install Xcode. gcc-4.2 checking for gcc... (cached) gcc-4.2 checking whether the C compiler works... no checking for mawk...

Configure Error C Compiler Cannot Create Executables Os X

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 To whom belongs the Macports tree? 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. 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.

Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 297 Star 8,691 Fork 811 rbenv/rbenv Code Issues 34 Pull requests 14 Projects Owner and group both have read write permissions. Installing glibc-devel.i386 resolved my issue. Configure Error C Compiler Cannot Create Executables Solaris 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.

To build older versions of Ruby you must have the official GCC compiler installed on your system. What exactly does Macports interact with outside of /opt ? Helpful (0) Reply options Link to this post This site contains user submitted content, comments and opinions and is for informational purposes only. 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

All rights reserved. Configure Error C Compiler Cannot Create Executables Gentoo no checking for awk... Go into XCode/Preferences/Downloads tab and there you can install the Command Line Tool. To report a bug, see $ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/main.log version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502

Error C Compiler Cannot Create Executables Ubuntu

configure:2846: $? = 0 configure:2853: gcc -v >&5 Using built-in specs. http://apple.stackexchange.com/questions/249699/configure-error-c-compiler-cannot-create-executables-ld-unknown-option-no Sign in. Configure Error C Compiler Cannot Create Executables Os X Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable? Checking For C Compiler Default Output File Name Configure Error C Compiler Cannot Create Executables Try: export CC=clang share|improve this answer answered Nov 23 '15 at 21:30 bbaassssiiee 1604 add a comment| Did you find this question interesting?

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 navigate here Proof of infinitely many prime numbers Can PostgreSQL databases be attached/detached on the fly? You need Xcode's Command Line Tool. 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 Configure Error C Compiler Cannot Create Executables See Config Log For More Details

Is the sum of two white noise processes also a white noise? Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. Do you have gcc installed? Check This Out I don't know why or how.

asked 10 months ago viewed 2909 times active 21 days 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 Configure Error C Compiler Cannot Create Executables Macports 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 A Riddle of Feelings Can Klingons swim?

What part of speech is "нельзя"?

One thought I did have though is that if Xcode is providing make and gcc, then I would expect perhaps those binaries would exist under /Developer. I changed the ownerships to root:wheel and tried again. error: unable to unlink old '.gitignore' (Permission denied) Error: Failure while executing: git pull --quiet origin refs/heads/master:refs/remotes/origin/master This is probably caused by the OS X update process resetting the folder owner Configure Error C Compiler Cannot Create Executables Solaris 10 It was created by configure, which was generated by GNU Autoconf 2.67.

Copyright © 2011 Apple Inc. return false unless compiler == :clang if MacOS::Xcode.version && MacOS::Xcode.version < "8.0" return false end if MacOS::CLT.version && MacOS::CLT.version < "8.0" return false end true end end Adding a return false Here's my config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. http://oncarecrm.com/error-c/error-c-compiler-cannot-create-executables-slackware.html comment:19 Changed 5 years ago by [email protected] I am having the same exact problem.

Next, you could dig into the actual specific error log or you could try getting a gcc compiler instead of using Apple's llvm. 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 Standard way for novice to prevent small round plug from rolling away while soldering wires to it A Riddle of Feelings Which news about the second Higgs mode (or the mysterious awk checking whether make sets $(MAKE)...

It was created by configure, which was generated by GNU Autoconf 2.61. Can 'it' be used to refer to a person? However it does just run a copy of clang: here's my shell output oxygen:~ saran$ gcc clang: error: no input files. Can 'it' be used to refer to a person?

There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:1767: $? = 0configure:1769: gcc -v &5Using built-in specs.Target: i686-apple-darwin11Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- Physically locating the server Problems with "+" in grep Inserting a DBNull value in database Find the limit of the following expression: Is it permitted to not take Ph.D. clang checking whether the C compiler works... share|improve this answer answered Nov 20 '15 at 23:37 bmike♦ 116k38202440 I tried both your suggestions and this is what i got Last login: Sat Nov 21 22:58:10 on

If you run into any more problems the brew doctor command can give you more hints to what might be wrong. no checking for awk... Why is the TIE fighter tethered in Force Awakens?