Configure Error C Compiler Cannot Create Executables Windows
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack configure error c compiler cannot create executables ubuntu Overflow the company Business Learn more about hiring developers or posting ads with us
Configure Error C Compiler Cannot Create Executables Solaris
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a configure error c compiler cannot create executables gentoo community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up MinGW: C++ Compiler cannot create executables up vote 0 down vote favorite I am trying
Configure Error C Compiler Cannot Create Executables Macports
to compile an old C++ code using MinGW om windows 7 (./configure , make ..etc. ) but something goes wrong. I am so sorry if my question is silly but I'm still a beginer! No similar error details in other posts. please, any help? c++ windows mingw share|improve this question asked Sep 18 '14 at 16:47 Reda 779 Is g++ even on your path? –T.C. Sep 18 '14 at configure error c compiler cannot create executables solaris 10 16:50 1 checking for g++... no well this is a rather clear signal that the compiler can't even be found in the PATH. –SirDarius Sep 18 '14 at 16:51 I've added C:\MinGW\msys\1.0\bin to the path , is this what you mean? –Reda Sep 18 '14 at 16:52 What do you get from typing g++ --version ? –Ben Voigt Sep 18 '14 at 16:56 @BenVoigt I get: (sh: g++ command not found!) –Reda Sep 18 '14 at 16:59 | show 8 more comments 3 Answers 3 active oldest votes up vote 1 down vote accepted OK here goes... Dump MSYS and MinGW(.org) Download and install MSYS2. Start the MSYS2 shell, type pacman -Syu mingw-w64-i686-gcc or pacman -Syu mingw-w64-x86_64-gcc (do you want to build a 32-bit or 64-bit thing? You can install both, they live happily side by side). If pacman upgrades the msys2-runtime, close the shell and restart it. Try what you did again, but from the MinGW-w64 Win32/Win64 MSYS2 shell (see your start menu for the shortcuts) Live happily ever after. share|improve this answer answered Sep 18 '14 at 20:10 rubenvb 41.6k13103187 add a comment| up vote 0 down vote Make sure you followed the installation instructions for MINGW correctly. See http://www.mingw.org/wiki/InstallationHOWTOforMinGW for mo
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings
Configure Error C Compiler Cannot Create Executables See Config.log' For More Details
and policies of this site About Us Learn more about Stack Overflow
Configure Error C Compiler Cannot Create Executables Python
the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users configure error c compiler cannot create executables mac Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only http://stackoverflow.com/questions/25918202/mingw-c-compiler-cannot-create-executables 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 top configure: error: C compiler cannot create executables up vote 16 down vote favorite 1 I am trying to upgrade apache 2.2.15 to 2.2.27. While running config.nice taken from apache2.2.15/build I am getting following error: http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables checking whether the C compiler works... no configure: error: in `/home/vkuser/httpd-2.2.27/srclib/apr': configure: error: C compiler cannot create executables I have tried to search online but no luck. I have also tested out c compiler by running a small test.c script and it runs fine. There were few solution given online like installing 'kernel-devel' package but it did not resolve issue. How can I get this to work? Following is the config.log generated: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.67. Invocation command line was $ ./configure --prefix=/opt/myapp/apache2.2 --with-mpm=worker --enable-static-support --enable-ssl=static --enable-modules=most --disable-authndbd --disable-authn-dbm --disable-dbd --enable-static-logresolve --enable-static-rotatelogs --enable-proxy=static --enable-proxyconnect=static --enable-proxy-ftp=static --enable-proxy-http=static --enable-rewrite=static --enable-so=static --with-ssl=/opt/myapp/apache2.2/openssl --host=x86_32-unknown-linux-gnu host_alias=x86_32-unknown-linux-gnu CFLAGS=-m32 LDFLAGS=-m32 --with-included-apr ## --------- ## ## Platform. ## ## --------- ## hostname = dmcpq-000 uname -m = x86_64 uname -r = 2.6.18-348.12.1.el5 uname -s = Linux uname -v = #1 SMP Mon Jul 1 17:54:12 EDT 2013 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = u
Support Search GitHub This repository Watch 298 Star 8,679 Fork 810 rbenv/rbenv Code Issues 35 Pull https://github.com/rbenv/rbenv/issues/440 requests 13 Projects 0 Wiki Pulse Graphs New issue configure: error: http://forums.mozillazine.org/viewtopic.php?t=1634205 C compiler cannot create executables #440 Closed tellijo opened this Issue Sep 1, 2013 · 16 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 15 participants tellijo commented Sep 1, 2013 I try to install the last stable configure error version of ruby. But I have this error: BUILD FAILED Inspect or clean up the working tree at /var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559 Results logged to /var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559.log Last 10 log lines: checking build system type... x86_64-apple-darwin12.4.0 checking host system type... x86_64-apple-darwin12.4.0 checking target system type... x86_64-apple-darwin12.4.0 checking for gcc-4.2... gcc-4.2 checking for gcc... (cached) gcc-4.2 checking whether the configure error c C compiler works... 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. Stop. 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 but there is still the error. mislav commented Sep 1, 2013 This should be reported to the ruby-build project, where rbenv install comes from, which handles compiling Rubies. 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 --version: ruby-build 20130806 llvm-gcc --version: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) xcode-select -print-path: /Applications/Xcode.app/Contents/Developer mislav commented Sep 1, 2013 Do you have "apple-gcc42" installed via Homebrew? It shouldn't be necessary for building Ruby 2.0, but
a reply 5 posts • Page 1 of 1 rlangham Posts: 18Joined: January 9th, 2008, 11:00 am Posted December 7th, 2009, 1:09 pm I am trying to build Firefox 3.6 Beta 4 using Visual Studio 2005 on Windows. I downloaded the release source, the latest version of mozilla build, but get the error "C compiler cannot create executables.". I have been able to build all other 3.5 and previous versions without any issues.The problem occurs at the start of the build process where it is testing whether or not it can even compile and create an executable.The build output is...$ make -f client.mk buildAdding client.mk options from /c/dev/ff3.6/mozilla-1.9.2/.mozconfig: MOZ_OBJDIR=$(TOPSRCDIR)/obj-firefox MOZ_CO_PROJECT=browsermake[1]: Entering directory `/c/dev/ff3.6/mozilla-1.9.2'cd /c/dev/ff3.6/mozilla-1.9.2/obj-firefox/c/dev/ff3.6/mozilla-1.9.2/configureAdding configure options from /c/dev/ff3.6/mozilla-1.9.2/.mozconfig: --disable-tests --with-windows-version=501 --enable-application=browser --disable-vista-sdk-requirementsloading cache ./config.cachechecking host system type... i686-pc-mingw32checking target system type... i686-pc-mingw32checking build system type... i686-pc-mingw32checking for gawk... gawkchecking for perl5... nochecking for perl... /bin/perlchecking for gcc... clchecking whether the C compiler (cl ) works... noconfigure: error: installation or configuration problem: C compiler cannot create executables.*** Fix above errors and then restart with "make -f client.mk build"make[1]: *** [configure] Error 1make[1]: Leaving directory `/c/dev/ff3.6/mozilla-1.9.2'make: *** [/c/dev/ff3.6/mozilla-1.9.2/obj-firefox/Makefile] Error 2The config.log is...This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.configure:1019: checking host system typeconfigure:1040: checking target system typeconfigure:1058: checking build system typeconfigure:1141: checking for gawkconfigure:1258: checking for perl5configure:1258: checking for perlconfigure:2350: checking for gccconfigure:2463: checking whether the C compiler (cl ) worksconfigure:2479: cl -o conftest conftest.c 1>&5Microsoft (R) 32-bit C/C++ Optimiz