Date: Mon, 30 Sep 2002 09:49:31 -0700 From: Adam Weinberger <adam@vectors.cx> To: Roger Merritt <mcrogerm@stjohn.ac.th> Cc: Toomas Aas <toomas.aas@raad.tartu.ee>, questions@FreeBSD.ORG Subject: Re: How to restore 'getty' Message-ID: <20020930164931.GX77771@vectors.cx> In-Reply-To: <3.0.6.32.20020930162844.0084bda0@stjohn.stjohn.ac.th> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020930164931.GX77771>