From owner-freebsd-stable Tue Jun 16 16:04:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14202 for freebsd-stable-outgoing; Tue, 16 Jun 1998 16:04:10 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from roma.coe.ufrj.br (jonny@roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14189 for ; Tue, 16 Jun 1998 16:04:08 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id UAA07635; Tue, 16 Jun 1998 20:03:58 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199806162303.UAA07635@roma.coe.ufrj.br> Subject: Re: Correct Way to Refresh Source Tree? In-Reply-To: <199806162255.RAA02564@dfw-ix1.ix.netcom.com> from Matt White at "Jun 16, 98 05:54:58 pm" To: mwhite@oakwood.k12.oh.us (Matt White) Date: Tue, 16 Jun 1998 20:03:58 -0300 (EST) Cc: jonny@jonny.eng.br, jdp@polstra.com, stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG #define quoting(Matt White) // >Are doing a "make all" or a "make buildworld" ? // // I was doing "make depend" at that point. Last night I got it working. I // had installed DES a long time ago when I installed ssh and sshd, so I // knew that actually was installed on my machine. // // I had to copy des.h into /usr/include. I don't remember where it was off // the top of my head... I *DO* wish I knew how my /usr/include got messed // up... =\ That's what I thought. Doing a make all, make depend, or something like that directly in the source root does not always work, because you may not have the required dependencies installed into your system. A "make world", or "make buildworld" solves this problem by creating a sub-tree with all the dependencies, and compiles from there. That's called "bootstrapping". The more your host system is older than the "new" system, the more chances you have of having problems. Even "make world" has some problems in upgrading system. One very commom I had some time ago was the lack of the "network" group, needed for ppp to install. Conclusion: If you are not pretty sure of what you are doing, don't use any arguments to make in /usr/src other than: world, buildworld and installworld. Jonny -- Joao Carlos Mendes Luis M.Sc. Student jonny@jonny.eng.br Universidade Federal do Rio de Janeiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message