From owner-freebsd-questions Mon Sep 30 9:48:47 2002 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 A436837B401 for ; Mon, 30 Sep 2002 09:48:45 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 214A743E4A for ; Mon, 30 Sep 2002 09:48:45 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (79df242ce2647ce0d1b9442ad5fdb03c@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g8UGnXho037515; Mon, 30 Sep 2002 09:49:33 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g8UGnVMB037514; Mon, 30 Sep 2002 09:49:31 -0700 (PDT) (envelope-from monkey) Date: Mon, 30 Sep 2002 09:49:31 -0700 From: Adam Weinberger To: Roger Merritt Cc: Toomas Aas , questions@FreeBSD.ORG Subject: Re: How to restore 'getty' Message-ID: <20020930164931.GX77771@vectors.cx> Mail-Followup-To: Adam Weinberger , Roger Merritt , Toomas Aas , questions@FreeBSD.ORG References: <3.0.6.32.20020930145020.00840c90@stjohn.stjohn.ac.th> <20020930061310.GW77771@vectors.cx> <3.0.6.32.20020930162844.0084bda0@stjohn.stjohn.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.6.32.20020930162844.0084bda0@stjohn.stjohn.ac.th> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG no. 'make all' is the same thing as typing 'make' with no targets. it is dangerous to just build without making dependencies, especially now that you have started building things randomly throughout the tree. if you're building just one piece, ALWAYS do: make depend obj all install the reason the Makefile has no targets is because of the .include line. that includes hundreds of lines of Makeifle code. you need to install world completely. when you installed your system, it seems you probably left out important pieces, and now you've upgraded getty, but nothing else. please follow the documented procedure in the handbook to build/install world. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html -Adam >> (09.30.2002 @ 0228 PST): Roger Merritt said, in 1.4K: << > At 11:43 AM 9/30/02 +0300, Toomas Aas wrote: > >Hello! > > > >> I've been searching the google group without finding anything on this > >> subject. I must be using the wrong keywords, because I remember (vaguely) > >> seeing someone post a year or so ago how to restore something in usr.bin or > >> usr.sbin. Well, I'll keep on trying. > > > >Section 21.4.14 of the handbook has this advice: > >----------------------------------------------------------------------- > >If things went slightly wrong, it is easy to rebuild a particular piece > >of the system. For example, if you accidentally deleted /etc/magic as > >part of the upgrade or merge of /etc, the file(1) command will stop > >working. In this case, the fix would be to run: > > > > # cd /usr/src/usr.bin/file > > # make all install > >----------------------------------------------------------------------- > > > >I've lost the beginning of this thread, so I apologize if this is what > >you already tried. > >-- > >Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ > >* I haven't lost my mind; I know exactly where I left it. > > > > > > Ah, now I remember reading that 'way back when I first took the plunge into > building world, and I had completely forgotten it. The key word looks to be > 'all'! I missed that. Thank you. > -- > Roger > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > >> end of "Re: How to restore 'getty'" from Roger Merritt << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message