Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jul 1996 02:12:12 -0400
From:      Gary Chrysler <tcg@ime.net>
To:        James Raynard <fqueries@jraynard.demon.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: makeing world
Message-ID:  <31DF553C.677A@ime.net>
References:  <199607061358.NAA01105@jraynard.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
James Raynard wrote:
> 
> > I read someplace that it's best to drop into single user mode
> > to make world, Is this fact?
> 
> I suppose it is - you have the system (and all its resources) to
> yourself, and you avoid potential "sawing off the branch you're
> sitting on" problems when it starts re-installing things.
> 
> (Although I have successfully made the world in multi-user mode
> without any apparent problems).
> 

I can see the advantages to going single user.

> > If so, How does one log the make process.
> > I would normally do: make <whatever> |& tee make.err
> > This don't work in single user mode. (Unless I did something wrong)
> 
> If you got
> 
> Syntax error: "&" unexpected
> 
> this is because sh is the default shell for single-user mode and it
> doesn't understand C shell syntax. Either do
> 
> (make world | tee make.err) &
> 
> or just enter "csh" when it asks you which shell to use (instead of
> pressing the return key, which is presumably what you're doing now).
> 

Yes, That was more then likly it.. Thanks James!
I'm learning, Slow but sure.. :)

> > I'm having problems making world, It keeps crashing and I don't
> > get a chance to see the screen before it re-boots and eats
> > my source tree.
> 
> Any clues in /var/log/messages?

Nope, Nothing.. I looked even though I didn't think make writes
anything to log/messages.

Although After reinstalling (to get me source
tree back.. :) It did complete (sucessfully????) in single
user.
I didn't log it for the Above (csh/sh) reason. I'll be rebuilding
again within the next day or so, This was a test before spending
a bunch of time on my source.. :)
Now that I know it at least completes I'll make my changes and
rebuild with a pipe to a log.

Thanks for the knowledge. :)

-Enjoy
Gary
~~~~~~~~~~~~~~~~
Improve America's Knowledge... Share yours
The Borg... Where minds meet
(207) 929-3848



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31DF553C.677A>