From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 12:12:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B05E16A480 for ; Tue, 13 Mar 2007 12:12:04 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 5552913C45A for ; Tue, 13 Mar 2007 12:12:04 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 60F5B1F8652; Tue, 13 Mar 2007 08:12:04 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Tue, 13 Mar 2007 08:12:04 -0400 X-Sasl-enc: 4BdHY81v/SzAyl62XJ9Az3QwqLhYI9gOQBBHrWaVqKpV 1173787924 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id B49F31DC92; Tue, 13 Mar 2007 08:12:03 -0400 (EDT) In-Reply-To: References: <719F520B-B7F4-4A01-B294-534393953AED@goldmark.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Tue, 13 Mar 2007 07:11:59 -0500 To: Ivan Voras X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: How to reinstall gcc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 12:12:04 -0000 On Mar 13, 2007, at 4:37 AM, Ivan Voras wrote: > Jeffrey Goldberg wrote: > >> My question is without a functioning gcc, how do a install a >> functioning >> gcc? > > It seems to me that the easiest way would be to do a binary > install/upgrade from the distribution CD. You might even get away with > copying the relevant files (don't know which... probably binaries and > libraries) from the live CD part. Thanks for that. For some reason (sorry I didn't record the error messages) I got into some weird menu loop in sysinstall when I tried to upgrade. So in the end, I just mounted the installation disk, found a directory RELEASE-6.2/base in which there was an install.sh that looked like it would do the right thing. It did the right thing. The only problem was that I forgot to restore my old /etc/passwd before rebooting. As a consequence I couldn't ssh in, and so I had to lug an old monitor across the room and clear desk space for it, so that I could log on to the console. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/