This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ./configure error: failed program was: /* confdefs.h. */


Shouldn't the compiler be included in the gcc package repository? Is this an issue of a dependency that wasn't installed or an error in the repo?
- Stephen




-----Original Message-----
From: Ian Lance Taylor <iant@google.com>
To: Stephen Marsh <mars7017@netscape.net>
Cc: gcc-help@gcc.gnu.org
Sent: Fri, Jan 21, 2011 4:16 pm
Subject: Re: ./configure error: failed program was: /* confdefs.h.  */


Stephen Marsh <mars7017@netscape.net> writes:


GCC version 4.41 installed through SliTaz Package manager won't allow
me to install / build autocutsel ( http://www.nongnu.org/autocutsel/ )
. Any suggestions why the failed program confdefs.h isn't working?

As the installation instruction say, we recommend against running ./configure. Run configure in an empty directory instead. I recommend unpacking the sources from scratch to avoid confusion left behind by ./configure.

However, your specific problem is this:

configure:2156: gcc    conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory

You don't have an assembler on your path. Your compiler--the one you are going to use to build gcc--doesn't work.

Ian




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]