Error C Compiler Cannot Create Executables Os X
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might configure error c compiler cannot create executables os x have Meta Discuss the workings and policies of this site About
Error C Compiler Cannot Create Executables Ubuntu
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting checking for c compiler default output file name configure error c compiler cannot create executables ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Configure Error C Compiler Cannot Create Executables See Config Log For More Details
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up configure: error: C compiler cannot create executables up vote 105 down vote favorite 23 I've checked a number of similar questions on stackoverflow but haven't found an answer yet. I'm trying to install memcached on Lion OSX as configure error c compiler cannot create executables solaris shown here. 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... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/tmp/libevent-1.4.12-stable': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** No targets specified and no makefile found. Stop. I've reinstalled Xcode as was recommended in a couple places, but no dice. 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 created by configure, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = j-court-demones-macbook-pro.local uname -m = x86_64
Start here for a quick overview of the site Help Center Detailed
Configure Error C Compiler Cannot Create Executables Gentoo
answers to any questions you might have Meta Discuss the
Configure Error C Compiler Cannot Create Executables Macports
workings and policies of this site About Us Learn more about Stack Overflow the company configure error c compiler cannot create executables solaris 10 Business Learn more about hiring developers or posting ads with us Ask Different Questions Tags Users Badges Unanswered Ask Question _ Ask Different is a http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables question and answer site for power users of Apple hardware and software. Join them; it only 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 Can't compile source code on mac http://apple.stackexchange.com/questions/216573/cant-compile-source-code-on-mac up vote 2 down vote favorite I already have xcode installed on OSX Yosemite. I have also run it and accepted terms and conditions. I can also do gcc --version and I see Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin14.5.0 Thread model: posix Now if I do wget http://apache.mirrors.pair.com//httpd/httpd-2.4.17.tar.bz2 brew install pcre tar zxvf httpd-2.4.17.tar.bz2 cd httpd-2.4.17 ./configure The error I get is Configure: configure: Configuring Apache Portable Runtime Utility library... configure: checking for APR-util... yes checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/cc checking whether the C compiler works... no configure: error: in `/Users/abhi/Downloads/httpd-2.4.17': configure: error: C compiler cannot create executables See `config.log' for more details Why can't the C compiler create executable? I showed you that the C compiler is installed correctly on my machine. osx xcode open-source gcc share|improve this question edited Nov 20 '15 at 23:41 bmike♦ 116k38202440 asked Nov 20 '15 at 21:17 Know
here for a quick overview of the site Help Center Detailed answers to http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about https://trac.macports.org/ticket/30628 hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question error c and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only 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 error c compiler 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: 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 ## ---------
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple Inc. All rights reserved. New Ticket Tickets Wiki Browse Source Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #30628 (closed defect: invalid) Opened 5 years ago Last modified 4 years ago C compiler cannot create executables under Lion Reported by: whittaker007@… Owned by: macports-tickets@… Priority: Normal Milestone: Component: ports Version: 2.0.1 Keywords: Cc: Port: Description (last modified by ryandesign@…) (diff) I am a long time user of Macports, and when I upgraded my existing installation everything seemed to be working until I tried to install a new port and got the "C compiler cannot create executables" error. I was able to run selfupdate, but upgrade outdated failed with the same error. I decided to start from scratch, uninstalled and cleaned all my ports, downloaded the latest Xcode package from the Apple App Store and installed it, then downloaded the latest MacPorts installer for Lion from the website, and installed that. All seemed to go OK until I tried to install my first port under the new installation, and it fails with the above error again. Here's what I get: $ sudo port install -v coreutils Password: ---> Computing dependencies for coreutils ---> Dependencies to be installed: autoconf help2man gettext expat libiconv gperf ncurses ncursesw p5-locale-gettext perl5 perl5.12 perl5 m4 automake gmp libtool ---> Configuring expat Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install expat Log for expat is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/main.log Error: The following dependencies were not installed: autoconf help2man gettext expat libiconv gperf ncurses ncursesw p5-locale-gettext perl5 perl5.12 perl5 m4 automake gmp libtool Error: Status 1 encountered during processing. To report a bug, see