From owner-freebsd-questions Wed Mar 1 16: 1:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 6CC3B37BD88 for ; Wed, 1 Mar 2000 16:01:33 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA04161; Thu, 2 Mar 2000 10:31:23 +1030 (CST) Date: Thu, 2 Mar 2000 10:31:23 +1030 From: Greg Lehey To: John Purser Cc: questions@FreeBSD.ORG Subject: Re: Make: don't know how to make buildworld Message-ID: <20000302103123.J2905@freebie.lemis.com> References: <20000301111510.D87829@freebie.lemis.com> <000d01bf8325$f77c2480$40390918@vncvr1.wa.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <000d01bf8325$f77c2480$40390918@vncvr1.wa.home.com> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] On Tuesday, 29 February 2000 at 18:29:26 -0800, John Purser wrote: > On Tuesday, February 29, 2000 4:45 PM, Greg Lehey wrote: >> On Tuesday, 29 February 2000 at 16:43:07 -0800, John Purser wrote: >>> On Tuesday, February 29, 2000 4:19 PM, Greg Lehey wrote: >>>> >>>> On Tuesday, 29 February 2000 at 15:55:06 -0800, John Purser wrote: >>>>> Hello, >>>>> >>>>> I'm running FreeBSD 3.4 after doing an X-user install off CD's. >>>>> I'm trying to track the stable branch. I cvsup'ed 3 stable >>>>> (RELENG_3) this past weekend. Next I extracted with: >>>>> cvs co src >>>>> Today I ran: >>>>> cvs update -P -d >>>>> >>>>> Now when I try an make buildworld I get this error message: >>>>> Make: don't know how to make buildworld. Stop >>>>> >>>>> It also doesn't know how to make world. I'm logged in as root. >>>>> What step did I skip? >>>> >>>> cd src >>>> >>>> The cvs co creates the directory src. You need to be in that >>>> directory to make a buildworld. >>> >>> Thanks, for getting back to me so quickly and for being right! >>> >>> I just kicked something off and that's a fact! >>> >>> I changed directories to /home/ncvs/src ($CVSUP/src) and then >>> entered make buildworld. Sure enough it started running. I had >>> been running it from /usr/src like the book said to. Is this a >>> needed correction or am I doing something wrong? >> >> No, it looks like you're doing something wrong. Normally /home/ncvs >> is the CVS repository, not the source tree. But you can't build a >> world from /home/ncvs/src, so it looks like you have something wrong >> there. Is this your repository? It should look like this: >> >> Attic crypto lkm >> COPYRIGHT,v eBones release >> Makefile,v etc sbin >> Makefile.inc1,v games secure >> Makefile.upgrade,v gnu share >> README,v include sys >> TODO-2.1 kerberos5 tools >> UPDATING,v kerberosIV usr.bin >> bin lib usr.sbin >> contrib libexec >> >> Note the file names ending in ,v: these are RCS (CVS) files. The >> others are directories containing ,v files. >> >> I'd guess that you checked out into the wrong directory. I hope you >> don't have both in there; that would be a real mess. You should have >> done your checkout from /usr, as shown on page 375 of the Third >> Edition. > > Sorry it took me so long to reply. I have the files and most of the > directories you listed in the directory /home/ncvs/src. I don't > have the directories Attic, eBones, Kerberos5, or lkm. It sounds like you haven't been looking carefully. With the files above, you can't build a world. You need at least Makefile and Makefile.inc1, which aren't there in the list above. The fact that Attic is missing suggests that you don't have a CVS tree there. The other ones belong to a different repository, so that's possible that they're not there. > When I moved to the directory /home/ncvs/src and typed "make > buildworld" it kicked off something that kept my machine busy for > the next half hour or so! It would be nice to know what. Typically a buildworld takes longer than that. > I thought the environmental variable CVSROOT was supposed to be set > to the default prefix from the cvsupfile. Do you think that's where > I went wrong? No. > As a way to undo this I'm thinking about deleteing the directory > /home/ncvs/src, resetting $CVSROOT (to /usr ?), redoing cvs co src, and > running make buildworld again. > > Does that sound like a good plan? No. I'd suggest you first try to find out what you have done. /home/ncvs is the canonical place for the repository, but we haven't yet established whether you have one or not. What does your cvsupfile look like? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message