Subject: Re: configure: error: C compiler cannot create executables
To: Wolfgang Zeikat <>
From: None <>
List: tech-pkg
Date: 07/22/2001 08:10:25
moving this to tech-pkg....

On Sun, 22 Jul 2001, Wolfgang Zeikat wrote:

> while trying to install for example in /usr/pkgsrc/devel/gmake/ on NetBSD
> 1.5.1 on an i386 i have gotten the error:
> checking whether the C compiler (...) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> ... Error code 1
> Stop.
> this has happened with various installation attempts in other parts of the
> pkgsrc tree also.
> what could be the problem and how would i fix it?

i'm not sure, but I'm having similar problems on alpha.  If you just do

make clean

again in devel/gmake does it work? My problem seems to not be with
building a pkg directly but rather when a build is triggered by a depends.  

haven't had time to fully figure out why or even be able to reliably
reproduce this yet.