Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2002 09:45:33 -0700 (Pacific Daylight Time)
From:      TJ Olney <market@cc.wwu.edu>
To:        freebsd-stable@FreeBSD.ORG, Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        Michael Smith <msmith@texas.net>
Subject:   Re: Can't "make buildworld"  libraries and kern.securelevel
Message-ID:  <Pine.WNT.4.44.0204180932060.-638975@Starship083.cbe.wwu.edu>
In-Reply-To: <20020418143653.GD70982@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.44.0204180932060.-638975>