Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 18:29:26 -0800
From:      "John Purser" <johnmpurser@home.com>
To:        "'Greg Lehey'" <grog@lemis.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   RE: Make: don't know how to make buildworld
Message-ID:  <000d01bf8325$f77c2480$40390918@vncvr1.wa.home.com>
In-Reply-To: <20000301111510.D87829@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Greg Lehey [mailto:grog@lemis.com]
Sent: Tuesday, February 29, 2000 4:45 PM
To: John Purser
Cc: questions@FreeBSD.ORG
Subject: Re: Make: don't know how to make buildworld


[Format recovered--see http://www.lemis.com/email/email-format.html]

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.

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

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.  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!  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?

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?

Thanks,

John Purser



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?000d01bf8325$f77c2480$40390918>