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

Configure Error C Compiler Cannot Create Executables Osx 10.6

Where can I find a GUI frontend for MacPorts? Many other software packages and packaging systems install into /usr/local, and could accidentally overwrite what MacPorts has installed, or vice versa. Instead I had: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain The C compiler ("cc") is located inside of that xctoolchain directory. For every port specified on the command line (or expanded from pseudo-ports like installed), port list displays the version of that port currently available in the ports tree -- not the http://haywirerobotics.com/configure-error/configure-error-c-compiler-cannot-create-executables-aix-5-3.html

Why is looping over find's output bad practice? The most common need for -f now is when you run into a stray file in your MacPorts prefix, not owned by a port, but blocks the install of one. false X11 installed? traymond pushed a commit to traymond/homebrew that referenced this issue Jul 22, 2014 jconley version 6.7.1 … Closes #972. 4578552 xu-cheng locked http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables

Each Portfile lists the checksums for the files that the port will download (using md5, sha1 and/or rmd160). make: *** No targets specified and no makefile found. The other is that many python developers have expectations when they install python, and installing python24 simply does not match that.

Open .bash_profile and add: export CC=/usr/bin/gcc-4.2 The second problem seems to be with Xcode. 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 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. Some internet connections are protected by a proxy which may not allow file downloads, tar/zip downloads, or may not allow your particular computer to access the internet without being specifically allowed.

share|improve this answer answered Apr 27 '12 at 21:59 Ken Thomases 50.9k44877 3 Thanks so much! Please look at the gist I linked to in my previous comment and let me know if I do need to run the command again. This feature is called trace mode and is activated by providing the -t flag to port, e.g. https://github.com/Homebrew/legacy-homebrew/issues/7189 If the computed checksum of the downloaded file doesn't match the one listed in the Portfile, that means the file you downloaded is not the one the port designer used when

Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Please do not discuss beta, preview or prerelease versions of macOS (such as macOS Sierra) in public MacPorts communication channels, including on the mailing lists, in tickets, or on IRC. no checking for nawk... Recent Posts: Author Jeff Douglas http://about.me/jeffdonthemic I'm the Trailhead Developer Advocate at Salesforce and part of the team making Trailhead the best way to learn Salesforce.

MacPorts doesn't want to be a victim of that, and /opt/local provides the splendid isolation (as would any other dedicated directory, of course). Clicking Here See the next question for the reason why. Sign in. I tried upgrading ImageMagick and I get the "C compiler cannot create executables".

Hot Network Questions On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack? this contact form Some of these are intentional, such as in cases where the MacPorts version is missing some crucial functionality (e.g. Do Morpheus and his crew kill potential Ones? 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,

  • If you ask us for help with a port failing to build because of something that it found in /Library/Frameworks you will be asked to remove what you've installed in /Library/Frameworks
  • Glassmapper fields displaying null despite correct item ID Inequality caused by float inaccuracy Converting the weight of a potato into a letter grade Why do languages require parenthesis around expressions when
  • 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).
  • My error log looked like: [2011-07-30 16:52:07] ./configure --prefix="/Users/Jeff/.rvm/usr" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane...
  • 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
  • If you've installed Xcode 4.3.x, you need to launch it, go into its preferences, select the Downloads tab, and click "Install" next to the Command Line Tools package.

no checking for nawk... It's shareware and costs $20. ​JPortsUI is a free open-source Java-based GUI. Why do the python ports have so many dependencies? have a peek here Is Area of a circle always irrational Why do the cars die after removing jumper cables Ballpark salary equivalent today of "healthcare benefits" in the US?

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 Why has feature XYZ not been implemented yet, it is important? no checking for nawk...

In general the answer is no.

It makes ports more consistent across different versions of Mac OS X. TO FIX THE PROBLEM: Install Homebrew's apple-gcc42 package with this command: brew tap homebrew/dupes ; brew install apple-gcc42 –schmijos Dec 19 '14 at 10:27 add a comment| up vote 2 down i386-apple-darwin10.0.0 checking host system type... It was down to upgrading Xcode recently this post said to do sudo xcode-select -switch /Applications/Xcode.app which fixed the issue.

Reload to refresh your session. 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. I don't know why or how. Check This Out This is why the most useful variants really shouldn't be variants at all but rolled into the port itself.

Even if Apple's versions aren't broken, they're rarely up-to-date. I really don't know where your problem is. If so, contact your network administrator for access. I have a local repository set up Your local repository needs the ports to be nested within a category for portindex to work, as explained in the relevant ​documentation.

mkoby commented Aug 29, 2011 Yea, I , read a few articles on that. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Rotate marker symbols individually in QGIS Why does the Minus World exist?

Nov 10, 2012 4:37 AM Helpful (0) Reply options Link to this post by etresoft, etresoft Nov 10, 2012 5:07 PM in response to sahenke Level 7 (29,530 points) Nov 10, Could be removed with port clean --archive +. Installed a seemingly unrelated gem? –Leonard Jul 24 '14 at 18:07 LOL Not sure.