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@xxxxxxxxxx>
To: Stephen Marsh <mars7017@xxxxxxxxxxxx>
Cc: gcc-help@xxxxxxxxxxx
Sent: Fri, Jan 21, 2011 4:16 pm
Subject: Re: ./configure error: failed program was: /* confdefs.h. */
Stephen Marsh <mars7017@xxxxxxxxxxxx> 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