Home > Configure Error > Configure Error C Compiler Cannot Create Executables Osx 10.6

Configure Error C Compiler Cannot Create Executables Osx 10.6

Already have an account? This is free software; see the source for copying conditions. Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Uninstalled and reinstalled XCode 4.2 preview 6 (rebooted). http://iembra.org/configure-error/configure-error-c-compiler-cannot-create-executables.php

Difficult to say why exactly the compiler test is failing---but I have a hunch it is related to a recent change in how processor-specific optimization flags are set. Please do NOT file a ticket without first ruling out a misconfiguration on your end. x86_64-apple-darwin10.4.0 checking host system type... After playing whack-a-mole for a while trying to get stuff to coexist, MacPorts has given up and acknowledged that the only thing that works reliably is to go with what is http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables

Enter the name of the failing port in this field to see all tickets filed for this port: If there are no matching tickets, please file one. cheers, Rich > On Nov 5, 2015, at 5:10 AM, Émile Jetzer wrote: > > When trying to install MESA on Mac OS X 10.7 using `./install`, I get the amelio-vazquez-reina referenced this issue Sep 5, 2014 Closed brew using the wrong compiler (gcc-4.2)? #32120 xu-cheng locked and limited conversation to collaborators Feb 16, 2016 Sign up for free to subscribe

  1. If the port is already using the latest version, report the problem to the upstream authors of the software; the software may need to be updated.
  2. yes checking build system type...
  3. Unit square inside triangle.
  4. And I've put the config.log into a gist at https://gist.github.com/1177039 (includes "brew doctor" output as well) ==> Upgrading imagemagick ==> Downloading https://github.com/trevor/ImageMagick/tarball/6.7.1-1 File already downloaded in /Users/mkoby/Library/Caches/Homebrew ==> ./configure --disable-osx-universal-binary --without-perl
  5. There are two issues to note before you try and use build_arch: many ports ignore the -arch flag to select the architecture, and will most likely fail to build at all

Craig Forums:LibRaw technical support Add new comment According to configure Submitted by lexa on 30 June, 2011 - 00:10 According to configure output, your Xcode package is not installed correctly. no checking for gcc... /usr/bin/gcc-4.2 checking whether the C compiler works... Within that app directory, I'm trying to reinstall ruby 1.9.3-p547: rvm reinstall ruby-1.9.3-p547 I then get an error: checking whether the C compiler works... Not the answer you're looking for?

share|improve this answer answered Sep 27 '14 at 17:29 C-Rock 1 add a comment| up vote 0 down vote Make sure there are no spaces in your Xcode application name (can If you wish to download and install a newer version, it compiles perfectly. So far everything checks out. Apple Info Site Map Hot News RSS Feeds Contact Us Copyright © Apple Inc.

If you have files in /usr/local or also use other package managers such as fink, homebrew, or pkgsrc, also try trace mode (-t): sudo port install # without trace mode, The differences may be just due to the different versions of MacOS. This feature is called trace mode and is activated by providing the -t flag to port, e.g. WWII Invasion of Earth Why is a spacetime with negative curvature assumed to have a hyperbolic, rather than spherical, geometry?

This allows for more consistent support for older machines which are not as up to date (especially Tiger which doesn't have a pkg-config compatible X11 SDK). https://discussions.apple.com/thread/4155902?tstart=0 Why am I getting an error about the wrong C++ runtime or libc++ or libstdc++? I do not have this flag and you do —with-sysroot=/Developer/SDKs/MacOSX10.6.sdk I think these flags are determined by the install script, but I am not sure. How do I remove or uninstall MacPorts?

First, if you read the installation notes for RVM you'll see the following: For Lion, Rubies should be built using gcc rather than llvm-gcc. http://iembra.org/configure-error/configure-error-c-compiler-cannot-create-executables-in-aix.php Please don't fill out this field. See the next question for the reason why. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic

We recommend upgrading to the latest Safari, Google Chrome, or Firefox. Portfile Development and Maintenance Questions Is it possible to have a dependency on a specific variant of another port? x86_64-apple-darwin10.4.0 configure: creating ./config.status config.status: creating Makefile config.status: creating gnulib-local/Makefile === configuring in gettext-runtime (/private/tmp/homebrew-gettext- configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local/Cellar/gettext/' '--disable-dependency-tracking' '--disable-debug' '--without-included-gettext' '--without-included-glib' '--without-included-libcroco' '--without-included-libxml' '--without-emacs' '--without-git' '--without-cvs' 'CC=/usr/bin/cc' Check This Out Also, /usr/local traditionally contains the given system's local admin tools; MacPorts doesn't want to stomp on that either. (For the same reasons, fink uses /sw as its prefix.) Can I install

Can I use TV coaxial cable as a Wifi antenna cable? Runtime Errors I try to disable a variant, but it just informs me of the proper usage for the port command General Questions A port fails to build. 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.

The `gcc` used by MESA is the one from the > MESA SDK, at least according to `which gcc`. > > What could cause this problem, and how can I solve

Note that starting with 2.3.0, MacPorts can automatically hide /usr/local (and all other files a port does not depend on) from ports' build systems. Unless you have a specific need for RandR functionality, this warning can be safely ignored. This is free software; see the source for copying conditions. I tried upgrading ImageMagick and I get the "C compiler cannot create executables".

Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. Old versions of Xcode sometimes make certain ports fail. mislav commented Sep 1, 2013 This should be reported to the ruby-build project, where rbenv install comes from, which handles compiling Rubies. this contact form See Migration for how to get things working again.

First, make sure you have the latest version of MacPorts and the ports tree. What's the optimal 'pythonic' way to make dot product of two lists of numbers? which files belong to the port with corresponding checksums. Please type your message and try again.

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 I'm on OS X version 10.6.7 and XCode version 3.2.2. configure:2846: $? = 0 configure:2853: gcc -v >&5 Using built-in specs. mine Configured with: /Volumes/Unix/mesasdk-src/gcc/configure CC=‘gcc -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin14.0.0 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer yours Configured with: /Volumes/Unix/mesasdk-src/gcc/configure CC=gcc —build=x86_64-apple-darwin10.8.0 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --with-sysroot=/Developer/SDKs/MacOSX10.6.sdk 1.

Why Tcl? To build older versions of Ruby you must have the official GCC compiler installed on your system. Helpful (1) Reply options Link to this post by jstanley70, jstanley70 Nov 7, 2012 3:31 PM in response to sahenke Level 1 (0 points) Nov 7, 2012 3:31 PM in response You must attempt to determine, as above, whether this has occurred by contacting the developer, or by locating an older version of the archive and comparing them.

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 Using build_arch MacPorts 1.8 introduced a new option to macports.conf: build_arch. yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... for testing something).

Installed a seemingly unrelated gem? –Leonard Jul 24 '14 at 18:07 LOL Not sure. Then, inspired by Rimian, I checked my gcc : gcc -v and then I got a message saying I did not aggreed. 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