From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:11:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35CA337B401 for ; Thu, 22 May 2003 20:11:05 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98AF143F75 for ; Thu, 22 May 2003 20:11:04 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4N3B4Bx055097; Thu, 22 May 2003 22:11:04 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 22:11:03 -0500 From: Dan Nelson To: David Banning Message-ID: <20030523031103.GB60226@dan.emsphone.com> References: <20030522212437.A35902@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030522212437.A35902@skytrackercanada.com> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: questions@freebsd.org Subject: Re: C compiler can't creat executables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:11:05 -0000 In the last episode (May 22), David Banning said: > I recently deleted a number of packages in /var/db/pkg I -thought- I didn't > need. On installing linux_base now I get the following error; > checking for working makeinfo... found > checking for gcc... cc > checking whether the C compiler (cc -O -pipe ) works... no > configure: error: installation or configuration problem: C compiler cannot create executables. > ===> Script "configure" failed unexpectedly. > Please report the problem to nakai@FreeBSD.org [maintainer] and attach > the "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" including the > output of the failure of your make command. Also, it might be a good > idea to provide an overview of all packages installed on your system > (e.g. an `ls /var/db/pkg`). > *** Error code 1 > > Stop in /usr/ports/archivers/rpm. > *** Error code 1 > > Stop in /usr/ports/emulators/linux_base. > > I tried to compile a simple program which worked fine. How would > I go about tracking this problem down? Take a look at "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" and see why cc is failing. -- Dan Nelson dnelson@allantgroup.com