This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ./configure error: failed program was: /* confdefs.h. */
- From: Ian Lance Taylor <iant at google dot com>
- To: Stephen Marsh <mars7017 at netscape dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 21 Jan 2011 13:16:49 -0800
- Subject: Re: ./configure error: failed program was: /* confdefs.h. */
- References: <f9c.aefb651.3a6b3969@UNKNOWN> <8CD87B95BAEC3E9-DDC-12428@webmail-m020.sysops.aol.com>
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