From owner-freebsd-stable Thu Apr 18 9:45:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from voyager.cbe.wwu.edu (voyager.cbe.wwu.edu [140.160.80.17]) by hub.freebsd.org (Postfix) with ESMTP id 9184C37B405; Thu, 18 Apr 2002 09:45:40 -0700 (PDT) Received: from starship083.cbe.wwu.edu (starship083.cbe.wwu.edu [140.160.80.183]) by voyager.cbe.wwu.edu (8.12.3/8.11.6) with ESMTP id g3IGjcK5002877; Thu, 18 Apr 2002 09:45:38 -0700 (PDT) (envelope-from market@cc.wwu.edu) Date: Thu, 18 Apr 2002 09:45:33 -0700 (Pacific Daylight Time) From: TJ Olney To: freebsd-stable@FreeBSD.ORG, Ruslan Ermilov Cc: Michael Smith Subject: Re: Can't "make buildworld" libraries and kern.securelevel In-Reply-To: <20020418143653.GD70982@sunbay.com> Message-ID: X-X-Sender: market@voyager.cbe.wwu.edu MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 18 Apr 2002, Ruslan Ermilov wrote: This single bit of info would have saved me days of mucking about. I don't recall seeing it in the Handbook. Is it there? The other bit that was pure mystery was the bit about kern.securelevel. Dropping to single user mode when the kern.securelevel has been at 1 leaves it at 1 and make installworld fails. In my case it failed in the middle of installing perl so not much worked after that. So, heads up all, before trying to installworld, do sysctl kern.securelevel if it is 1, change rc.conf to have it be -1, reboot and try again. As a rather naive user but not a newbie, I had assumed that make buildworld built what it needed when it needed it. So I don't do it again next time, just how do I make sure the libraries are built and installed first? Could the buildworld makefile check for libraries first, before grinding away for an hour and failing? Thanks for the info! TJ Olney p.s. Is there a list of "Gotchas" anywhere? Things that experts have learned the hard way, but novices and intermediates don't have a clue? eg, I can hear someone muttering, "no duh! Of course you have to set kern.securelevel so you can change things that have their immutable flags set." > > > Libraries should be built and installed first before the rest of the world. > Make sure that the `libraries' part put the correct libraries into > /usr/obj/usr/src/i386/usr/lib, and that ``nm libc.a'' in that directory > shows you nl_langinfo. > > > Cheers, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message