Subject: Re: Persistent problems with pkgsrc
To: None <port-mac68k@netbsd.org>
From: Michael G. Schabert <mikeride@mac.com>
List: port-mac68k
Date: 02/10/2004 10:23:33
At 10:53 AM -0800 2/9/04, Tom Jernigan wrote:
>My pkgsrc used to work, but at some point in the last few months, an 
>update via annon CVS caused a problem and I started getting the --K 
>error. I just tried Allen's suggestion, but it failed with:
>
>...
>checking for gcc.. /usr/pkgsrc/pkgtools/pkg_install/work/.gcc/bin/gcc
>checking for C compiler default output... configure: error: C 
>compiler cannot create executables
>See 'config.log' for more details
>*** Error code 77
>
>Stop.
>make: stopped in /usr/pkgsrc/pkgtools/pkg_install
>*** Error code 1
>
>Stop.
>make: stopped in /usr/pkgsrc/pkgtools/pkg_install
>
>I'll try the Kazuyuki Inanaga fix next.

I ran into something similar recently on my alpha. The error in the 
log mentioned "cc1 not found" or similar. I created a link in the 
/usr/pkgsrc/<category>/<package>/work/.gcc/bin directory pointing to 
the /usr/libexec/cc1 executable.

HTH
Mike
-- 
Bikers don't *DO* taglines.