Apache Httpd Configure Error C Compiler Cannot Create Executables
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 configure error c compiler cannot create executables ubuntu site About Us Learn more about Stack Overflow the company Business Learn more configure error c compiler cannot create executables solaris about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss configure error c compiler cannot create executables gentoo Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up configure: error: C
Configure Error C Compiler Cannot Create Executables Macports
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 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 configure error c compiler cannot create executables solaris 10 -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 uname -r = 11.3.0 uname -s = Darwin uname -v = Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 Kernel configured for
Captain and a Couchbaser. Menu Skip to content Home About Photos Speaking Credentials Races My Books & configure error c compiler cannot create executables see config.log' for more details Videos Docker for Java Developers Minecraft Modding with Forge Java
Configure Error C Compiler Cannot Create Executables Python
EE 7 Essentials Java EE 7 Video Course Java EE 7 and HTML5 Enterprise Application
Configure Error C Compiler Cannot Create Executables Mac
Development Java EE 6 Pocket Guide Devoxx4Kids Archives Search for: Compiling Apache HTTPD on Mac (Tech Tip #45) August 22, 2014techtipapache, httpdarungupta One of my blogs http://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables needed Apache HTTPD 2.4.x on Mac but quickly realized that the binaries are available only for Netware and Win32. Even the build instructions were only for RPM-based systems. So I downloaded the source code and started building it. Complete compile instructions are explained here. However there were some issues on Mavericks and so decided to http://blog.arungupta.me/compiling-httpd-mac-techtip45/ document it. Let's go! Download the source bundle and unzip: tar xzvf ~/Downloads/httpd-2.4.10.tar.bz2 123 tar xzvf ~/Downloads/httpd-2.4.10.tar.bz2 Source code comes with INSTALL instructions and per that the following should've worked: ./configure --prefix=PREFIX make make install PREFIX/bin/apachectl start 123456 ./configure --prefix=PREFIXmakemake installPREFIX/bin/apachectl start So gave the command ./configure --prefix=/usr/local/apache2 123 ./configure --prefix=/usr/local/apache2 and got the first error: httpd-2.4.10> ./configure --prefix=/usr/local/apache2 checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking build system type... x86_64-apple-darwin13.3.0 checking host system type... x86_64-apple-darwin13.3.0 checking target system type... x86_64-apple-darwin13.3.0 configure: configure: Configuring Apache Portable Runtime library... configure: checking for APR... yes setting CC to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc" setting CPP to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc -E" setting CFLAGS to " " setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK" setting LDFLAGS to " " configure: configure: Configuring Apache Portable Runtime Utility library... configure: checking for APR-util... yes checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolc
Index | Next http://www.gossamer-threads.com/lists/apache/users/435520 | Previous | Print Thread | View Threaded https://github.com/rbenv/rbenv/issues/440 ayaskanta.praharaj at wipro Mar19,2014,8:14AM Post #1 of 4 (3246 views) Permalink error in apache installation. "checking whether the C compiler works... no" "configure: error: C compiler cannot create executables" Hi, I am installing latest apache http configure error server in Linux64 bit system. I have done the below steps but gettting the error "checking whether the C compiler works... no" "configure: error: C compiler cannot create executables" even though there are gcc, gcc++ packages already installedin Linux. steps are - configure error c 1. downloaded and extracted http-2.4.9.tar.gz and made /u03/backup/Apps_stage/apache/http-2.4.9.tar.gz/ folder 2. downloaded apr-1.5.0.tar.gz, apr-util-1.5.3.tar.gz and extracted them into /u03/backup/Apps_stage/apache/http-2.4.9.tar.gz/srclib/ 3. Inside srclib/ folder renamed the apr-*** and apr-util*** folders to apr/ and apr-util/ respectively 4. Ran and tried the below commands one at a time: ./configure --prefix=/u03/apache/ --with-included-apr --enable-so ./configure --prefix=/u03/apache/ --enable-so ./configure --prefix=/u03/apache/ 5.All above commnds gives the error - checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu configure: configure: Configuring Apache Portable Runtime library... configure: configuring package in srclib/apr now checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-g
Support Search GitHub This repository Watch 299 Star 8,663 Fork 808 rbenv/rbenv Code Issues 36 Pull requests 13 Projects 0 Wiki Pulse Graphs New issue configure: error: 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 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 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