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

Configure Error C Compiler Cannot Create Executables Osx 10.6

I noticed this trick: Installing Command Line Tools share|improve this answer answered Jul 24 '14 at 3:56 Jason McD 7211613 The weird thing is, my problem went away on But note that because +universal is not necessarily tested by port maintainers, it may not work correctly for all ports, even if no error message is shown during installation. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 294 Star 8,796 Fork 816 rbenv/rbenv Code Issues 36 Pull requests 14 Projects Portfile Development and Maintenance Questions Is it possible to have a dependency on a specific variant of another port? his comment is here

which files belong to the port with corresponding checksums. Why Tcl? 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. Already have an account? http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables

I successfully installed RVM (Ruby Version Manager) but received a nasty error when installing Ruby 1.9.2. distfiles The downloaded sources of each built port, could be removed with port clean --dist . Certain ports might (and do) fail to build because during their build something incompatible is found and picked up from /usr/local. This is seen with an error message from port similar to Error: Activating some-port @1.0_0 failed: Image error: /opt/local/path/to/stray/file already exists and does not belong to a registered port.

Does f:x mean the same thing as f(x)? 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. If getting through a firewall or fixing your network is not a possibility, there are other methods you can use which are a bit more manual: You can sync your port Terms Privacy Security Status Help You can't perform that action at this time.

x86_64-apple-darwin10.4.0 checking host system type... You can not post a blank message. Using +universal can allow you to run ports which do not build for your preferred architecture alongside those that do. https://github.com/Homebrew/legacy-homebrew/issues/7189 If you don't have the tools and include files installed, you should get a prompt to install the tools and have to possibly type an admin user/password.

On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? Instead, in MacPorts, "-devel" versions tend to be pre-release (i.e. You signed out in another tab or window. no checking for gcc... /usr/bin/gcc-4.2 checking whether the C compiler works...

So that (at least in my case) seems to be the problem. http://apple.stackexchange.com/questions/216573/cant-compile-source-code-on-mac i386-apple-darwin10.0.0 checking for gcc... /usr/bin/cc checking for C compiler default output file name... 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 This has now been replaced with the --enforce-variants option to upgrade: sudo port upgrade --enforce-variants curl +ssl This will install the curl port again, adding the +ssl variant.

What can I do about it? http://homeshareware.com/configure-error/configure-error-c-compiler-cannot-create-executables-slackware.html Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. It is perhaps somewhat unlikely yet theoretically possible (and it has happened a few times in practice) that the archive being distributed by the developer (or by a mirror) has been First try sudo port -d selfupdate to get all errors to display.

  1. Using separate ports for these modules (like py-readline) avoids the need to completely rebuild the base port, and can be used as a dependency, but ends up having other issues.
  2. Old versions of Xcode sometimes make certain ports fail.
  3. gcc is reporting its version as 4.0.1.
  4. Rather than reinstall Xcode, I noticed there were two relevant lines in my config.log: configure:5130: checking for C compiler version configure:5139: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc --version >&5 That path did not exist for me.
  5. Note that trace mode in MacPorts 2.3.4 and earlier is not compatible with El Capitan.
  6. It needs to be escaped away with a double-dash: port -- - Last modified 8 days ago Last modified on Oct 31, 2016, 11:25:38 AM Download in other formats:
  7. 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
  8. Instead I had: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain The C compiler ("cc") is located inside of that xctoolchain directory.

Hot Network Questions On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? no checking for awk... A fix has been committed in r141420 but not yet released in a stable version of MacPorts. http://homeshareware.com/configure-error/configure-error-c-compiler-cannot-create-executables-aix-5-3.html If you are having specific problems, I suggest you post exactly what problems you are having in your own thread in the Developer Forums.

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 x86_64-apple-darwin12.4.0 checking host system type... Sign in.

If you run LittleSnitch, create a rule for rsync (/usr/bin/rsync) that allows connections to server hostname rsync.macports.org, port 873 (rsync), protocol 6 (TCP).

gcc-4.2 checking for gcc... (cached) gcc-4.2 checking whether the C compiler works... What is the total sum of the cardinalities of all subsets of a set? Will my MacPorts install continue to work after installing a new major OS release or migrating to a new machine with a different CPU architecture? You signed out in another tab or window.

PS. If there is a newer version of the software available, you should report this to the port maintainer. We recommend upgrading to the latest Safari, Google Chrome, or Firefox. http://homeshareware.com/configure-error/configure-error-c-compiler-cannot-create-executables-ubuntu-11-10.html 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:

If a port is activated its files are extracted to the ${prefix} folders from the compressed files here. Is MacPorts Universal? If you find a port that will not build with +universal, or if it builds but then does not work correctly, please file a bug report. You must agree to both license agreements below in order to use Xcode. [...] After you have accepted it, the commandline tools will work as expected.

What version of Xcode do you have installed (and where is it installed?) adamv commented Apr 23, 2010 Closing due to no response; please retry with a recent version of Homebrew 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 All rights reserved. GCC is broken up into lots of binaries and some recall others---I've seen gcc fail to run because it could not pass execution to some other binary like gcc-4.2.

No. 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 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... Max has reverted the commit in master so you can delete the test-march branch that my snippet created.

What do I do if port selfupdate doesn't work or the rsync server refuses connections? no checking for awk... Many X11 programs try to use the RANDR extension, and print this warning when it is not available. After that it compiled with no problem. 0% Ruby 1.9.2 Install Errors with Mac OS X Lion and RVM words - read.

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 You should be right as rain. What are the folders in ${prefix}/var/macports/ for and why do they take up so much space? yes checking build system type...

There are several GUIs for MacPorts in development. ​PortAuthority has been around for a long time. no checking for awk... This is ticket #126.

Back to Top