From owner-freebsd-questions@FreeBSD.ORG Sat Dec 18 19:29:33 2004 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 183EB16A4CE for ; Sat, 18 Dec 2004 19:29:33 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id B13FB43D41 for ; Sat, 18 Dec 2004 19:29:32 +0000 (GMT) (envelope-from joshua.lokken@gmail.com) Received: by wproxy.gmail.com with SMTP id 55so7708wri for ; Sat, 18 Dec 2004 11:29:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Gpj95lTzn/DeOnC91ZmKld7AbKZqt5v2H1YAmqA8F29GQ/08J/I1v+s4/1+edCi9cFi1vcwec5nlNp0DjqjO+3itvk8gmY/X5ISqlg9q57oFlSLxNecad6nqU4/fWkEwlxGWIOK+GOQUyA6o6QRmd3v2CYKlCArkWpT/GQ3sHyg= Received: by 10.54.6.6 with SMTP id 6mr274213wrf; Sat, 18 Dec 2004 11:29:32 -0800 (PST) Received: by 10.54.11.34 with HTTP; Sat, 18 Dec 2004 11:29:32 -0800 (PST) Message-ID: Date: Sat, 18 Dec 2004 13:29:32 -0600 From: Joshua Lokken To: Zachary Huang In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: cc: freebsd-questions@freebsd.org Subject: Re: make buildworld dies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joshua Lokken List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 19:29:33 -0000 On Sat, 18 Dec 2004 11:49:53 -0500, Zachary Huang wrote: > Sorry for so many questions. On yet another FreeBSD (4.2), I first > did a sysinstall to upgrade to 5.10, Wha? 4.2 is very old. and 5.3 is the latest production release. I'll assume the above is a typo for 4.10. I'm not certain that you can directly upgrade from 4.2 to 4.10, but in any case, you want to read /usr/src/UPGRADING. > it messed up everything because > the source (/usr/src) did not match all the config files, so sendmail > complains a lot and cannot ssh or telnet to the system. I then did a > cvsup (without specify which release, simply "cvs") successfully (took > like 10 hrs) I don't believe this is what you wanted to do. If you're going to track a particular release, let's say 4.10, then you want to use the appropriate cvs tag for that src tree, which for 4.10 release will be RELENG_4_10. > cd /usr/src > make buildworld > > after about 8 min, it stopped with the following error: > cc -O -pipe -DSHELL -I .I/usr/src/bin/sh -Wall -Wfont (? cannot see my > own writing) -c /usr/src/bin/sh > /usr/src/bin/sh/mknodes.c:101. > initializer element is not constant > ***error code 1 > Stop in /usr/src/bin/sh > *** error code 1 > stop in /usr/src. That seems reasonable. > now I am sort of stuck. I made a new kernel the day before the > sysinstall, but now I cannot even try compile a new kernel because it > compains the config file is newer than what it wants. It sounds like your src tree needs to be cleaned up (# rm -rf /usr/src/*) and that you should read the Handbook chapter on using cvsup, write yourself a src-supfile, or use one of the examples, and then follow the well-documented procedure for upgrading your system from source. > is my system totally messed up? Probably, but the handbook is a great resource, and will help you to prevent it from happening again. > right now apache still works, but I can telnet or ssh out but to the host.... Wow, I'm surprised that Apache is still able to run ;) -- Joshua Lokken Open Source Advocate