Home > Configure Error > Configure Error C Compiler Cannot Create Executables Leopard

Configure Error C Compiler Cannot Create Executables Leopard


cd /Applications/Xcode.app/Contents/Developer/Toolchains sudo ln -s XcodeDefault.xctoolchain OSX10.8.xctoolchain As suggested in the comments, if you are having this problem on Yosemite (10.10) or Mavericks (10.9), you can update the symlink command above yes checking for gcc... What error are you getting? I changed the ownerships to root:wheel and tried again. have a peek here

Newer Than: Search this thread only Search this forum only Display results as threads More... In any case, there is something incorrect with the setup on the box, as shown by this line: :info:configure checking whether the C compiler works... Rumor has it there is an installer for MacPorts-2.2.1 for Mavericks in particular that addresses this... (I'm trying this myself, now...) comment:5 follow-up: ↓ 6 Changed 3 years ago by [email protected]… I In this post I’ll go through some of the problems I ran into with Brew after updating to El Capitan and how to solve them.

Configure Error C Compiler Cannot Create Executables Ubuntu

Text editor for printing C++ code 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 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. We recommend upgrading to the latest Safari, Google Chrome, or Firefox. What do I do now?

  • Granting write permissions to the group did not help. /Developer on the other hand is owned by root and has admin group.
  • Also, for those that use port over brew, sudo port install apple-gcc42 works as well (except on Yosemite or later, but there's an open issue on that).
  • I don't know where it will be on OS X.
  • You signed out in another tab or window.
  • 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.
  • It was all writable by the owner but not the group.
  • Does that look right?
  • grantgeorge commented Aug 24, 2015 @yagudaev @hiteshsharma helped me, thanks ;) t0d0r commented Oct 27, 2015 Hi, I managed to compile ruby 1.8.7-p375 on El Capitan (10.11.1), here's how: brew install
  • I showed you that the C compiler is installed correctly on my machine.

configure: checking for APR-util... You may encounter build failures or other breakages. brew install gcc That would get a gnu gcc-5 installed in the /usr/local/bin path and if that's used over Apple's /usr/bin/gcc you might not have the build error in the first Configure Error C Compiler Cannot Create Executables Solaris 10 Symbiotic benefits for large sentient bio-machine Anyone knows the font style here?

yes checking for a thread-safe mkdir -p... yes checking whether ln -s works... Does that look right? additional hints I really don't know where your problem is.

The next step is to run brew upgrade to upgrade all installed packages to the last version. Configure Error C Compiler Cannot Create Executables See Config.log' For More Details Sign up for free to join this conversation on GitHub. If that is the case this would be "tools unique to the programming profession" or what ever it is that the FAQ says. –dmckee Apr 28 '12 at 1:23 3 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:

Configure Error C Compiler Cannot Create Executables Solaris

yes checking for style of include used by make... comment:22 Changed 5 years ago by [email protected]… Uninstalled and purged Xcode and Macports, restarted, reinstalled, restarted. Configure Error C Compiler Cannot Create Executables Ubuntu in any way. Configure Error C Compiler Cannot Create Executables Gentoo Can I use TV coaxial cable as a Wifi antenna cable?

share|improve this answer answered Apr 27 '12 at 21:59 Ken Thomases 50.3k44677 3 Thanks so much! navigate here Thanks- –HSeldon Dec 7 '13 at 0:42 add a comment| up vote 10 down vote I just had this issue building apache. Can you build a trivial hello_world program? Instead I had: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain The C compiler ("cc") is located inside of that xctoolchain directory. Configure Error C Compiler Cannot Create Executables Macports

Digging a Hole and Creating EM Radiation A term for a spot, placement or location in the sky? What exactly does Macports interact with outside of /opt ? How to approach? Check This Out It shouldn't be necessary for building Ruby 2.0, but just checking the state of your system.

This site is not affiliated with or endorsed by Apple Inc. Configure Error C Compiler Cannot Create Executables Python 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. All rights reserved.

Not the answer you're looking for?

Good luck! APXS spits it out, but it has the wrong path so that's why you keep getting errors. –Adrian Rodriguez Nov 28 '12 at 0:10 1 This helped, but the final Browse other questions tagged osx memcached osx-lion libevent or ask your own question. Configure Error C Compiler Cannot Create Executables Mac We do not provide support for this pre-release version.

If that does not help and you get the same message, attach the config.log so we can see what happened. Seems very valid to me! –Andy Dent Jun 7 '12 at 22:41 | show 5 more comments 11 Answers 11 active oldest votes up vote 91 down vote accepted You have Update Xcode to the latest beta (Recommended) Assuming that you can download the latest beta from the App Store, installing it should also install the version of ld that works with this contact form awk checking whether make sets $(MAKE)...

share|improve this answer answered Oct 17 '13 at 17:04 Homer 30129 add a comment| up vote 2 down vote Setting 'clang' as the compiler configure should use worked for me: export Or something? share|improve this answer answered Nov 15 '13 at 4:56 konrad 1,2831221 2 This worked for me; Xcode was install (clean Mavericks installation) but the command-line tools weren't automatically installed. –JESii I've now tried configuring some other software (MPICH) and I get the same problem: checking for C compiler default output file name...

Invocation command line was $ ./configure --disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local/Cellar/xz/5.2.2 ## --------- ## ## Platform. ## ## --------- ## hostname = Chens-MacBook-Pro.local uname -m = x86_64 uname -r = 16.0.0 uname michaelsanford uix_expand uix_collapse Translator, Web Developer Joined: Oct 7, 2002 Messages: 2,277 Likes Received: 0 I have just tried to compile MRTG-2 from source and have received this message configure: error: RSS Top 4 posts / 0 new Last post For more complete information about compiler optimizations, see our Optimization Notice. I would be suspicious of the "-lcrt.o" since crt.o is not a library, is it?

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.