Home > C Compiler > C Compiler Cannot Create Executables Error

C Compiler Cannot Create Executables Error

i686-pc-linux-gnu checking build system type... (cached) i686-pc-linux-gnu checking target system type... Join them; it only takes a minute: Sign up configure: error: C compiler cannot create executables up vote 106 down vote favorite 23 I've checked a number of similar questions on What is the origin of the word "pilko"? In my case I fixed the problem installing python by selecting Xcode 7.3.1 –Marco Pelegrini Jun 30 at 17:59 add a comment| up vote 138 down vote I have 10.8 installed his comment is here

Advisor professor asks for my dissertation research source-code If a reviewer makes significant contributions to improving a paper, may he/she suggest becoming a coauthor? LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie configure: error: C++ compiler cannot create executables User Name Remember Me? i686-pc-linux-gnu checking target system type... 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. http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables

The nth numerator What is the total sum of the cardinalities of all subsets of a set? configure:4025: $? = 0 configure:4014: g++ -v >&5 Using built-in specs. mkdir -p -- ia64-redhat-linux/libgcc Configuring in ia64-redhat-linux/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs...

I used "xcode-select --install" and it worked perfectly. –Blairg23 Jul 9 '14 at 19:23 This seems to fix the issue on Yosemite; even though XCode 6 now comes with Thank you. i686-pc-linux-gnu checking target system type... Thanks- –HSeldon Dec 7 '13 at 0:42 add a comment| up vote 10 down vote I just had this issue building apache.

no checking for c++... If you'd like to contribute content, let us know. What exactly are sleeping stalls versus waiting-rooms, for airport layovers? no checking how to run the C preprocessor... /lib/cpp configure: error: in `/home/ubuntu/ruby-2.1.1': configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details Here is Updated config.log This

Browse other questions tagged command-line compiling gcc make or ask your own question. iptables not dropping by IP and port? By the way, it is happening on all 3 RHEL 4 servers I tried. yes checking for gcc...

g++: error: missing argument to '-march=' configure:4417: $? = 0 configure:4406: g++ -v >&5 Using built-in specs. Clicking Here 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 / Arts Culture / Recreation Science no checking for aCC... Aborting...I could not find the indicated config.log file.I installed all the dependencies indicated in the wiki, but I have a feeling I must be missing basic in my configuration.

lowercase breadcrumbs How can tilting a N64 cartridge cause such subtle glitches? this content Halting the installation. no checking for gcc option to accept ISO C89... Please visit this page to clear all LQ-related cookies.

I just saw this bird outside my apartment. You can fix it, but really, look for a later version of the package which has been fixed. yes checking for ia64-redhat-linux-gcc... /opt/objdir/./gcc/xgcc -B/opt/objdir/./gcc/ -B/opt/ia64gcc/ia64-redhat-linux/bin/ -B/opt/ia64gcc/ia64-redhat-linux/lib/ -isystem /opt/ia64gcc/ia64-redhat-linux/include -isystem /opt/ia64gcc/ia64-redhat-linux/sys-include checking for suffix of object files... http://cmptp.com/c-compiler/c-compiler-cannot-create-executables-on-mac.html mislav commented Sep 1, 2013 This should be reported to the ruby-build project, where rbenv install comes from, which handles compiling Rubies.

The first prerequisite for compiling GCC is a working compiler. ia64-redhat-linux-lipo checking for ia64-redhat-linux-nm... /opt/objdir/./gcc/nm checking for ia64-redhat-linux-ranlib... Not the answer you're looking for?

It was created by configure, which was generated by GNU Autoconf 2.69.

no reverse View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by reverse 05-05-2007, 02:47 AM #5 Nylex LQ Addict Registered: Jul Core tests. ##
3. ----------- ## configure:3069: checking for a BSD-compatible installconfigure:3137: result: /usr/bin/install -cconfigure:3148: checking whether build environment is saneconfigure:3198: result: yesconfigure:3339: checking for a thread-safe mkdir -pconfigure:3378: result: Modified: branches/gcc-4_7-branch/libquadmath/ChangeLog branches/gcc-4_7-branch/libquadmath/configure branches/gcc-4_7-branch/libquadmath/configure.ac Comment 13 Benjamin Kosnik 2012-05-31 18:59:38 UTC Author: bkoz Date: Thu May 31 18:59:34 2012 New Revision: 188078 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188078 Log: 2012-05-31 Benjamin Kosnik PR libstdc++/52007 Add comments to a python script and make it a bilingual python/C++ “program” What exactly are sleeping stalls versus waiting-rooms, for airport layovers?

One Very Odd Email Draw some mountain peaks more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life Several errors I've had before whose fixes aren't the solution this time0Configure failed, “C compiler cannot create executables”0How to configure compiler for Panotools? yeschecking for gcc... check over here config.log looks exactly the same as well. ./configure --prefix=/usr --sysconfdir=/etc CC=/usr/bin/gccchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane...

gcc checking for C compiler default output file name... It was created by Tux Of Math Command configure 1.7.2, which was generated by GNU Autoconf 2.63. Offline #4 2010-02-03 22:11:00 tavianator Member From: Waterloo, ON, Canada Registered: 2007-08-21 Posts: 858 Website Re: [SOLVED] configure: error: C compiler cannot create executables This is the offending line from config.loggcc: configure:6156: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT

asked 4 years ago viewed 117602 times active 3 months ago Linked 48 Installing Nokogiri on OSX 10.10 Yosemite 76 xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such configure: error: cannot compute suffix of object files: cannot compile Note: I don't have any IA64 files/binaries on my host machine where this cross compilation is going, so I have not i686-pc-linux-gnu checking host system type... Word for "using technology inappropriately"?

Instead I had: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain The C compiler ("cc") is located inside of that xctoolchain directory. Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? Description chilaka 2012-01-26 10:22:27 UTC While installing gcc on a IA64 rhel5 box, I am facing the below problem. /root/gcc/gcc-4.2.4 [root@colt102d gcc-4.2.4]# CC=gcc [root@colt102d gcc-4.2.4]# export CC [root@colt102d gcc-4.2.4]# ./configure loading Also don't build in > the source directory.

In my case rvm is trying to use a downloaded gcc via homebrew. If that's thecase here, you should see error messages to that effect in the config.log. At least for me it did. Cheers! –Vishal Jul 25 '14 at 15:08 add a comment| up vote 6 down vote CC='' tells me, you no compiler is set.

If it's a rhel5 box then install the gcc rpm. Click Here to receive this Complete Guide absolutely free. If I run which gcc it tells me that the path is: /usr/bin/gcc, but I keep getting the same error even if I export and specify the path to gcc.