Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 09:14:38 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gene Bomgardner <Gene@Bomgardner.net>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: build world failure
Message-ID:  <20020903081438.GB20142@happy-idiot-talk.infracaninophi>
In-Reply-To: <3D739D61.12971.643A506@localhost>
References:  <3D739D61.12971.643A506@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 02, 2002 at 05:18:25PM -0400, Gene Bomgardner wrote:
> While trying to build world (4.6) it bombed saying it couldn't fine 
> /usr/src/tools/install.sh
> 
> I checked and discovered there was a file "install.sh,v"
> 
> What's this ",v" stuff? There are many such files. Did I miss a step? 
> Or maybe cvsup'd the wrong file?

The ",v" stuff comes from CVS --- it seems you've managed to pull down
the cvs repository to your /usr/src, rather than the checked out
source code.  Both are supported via cvsup, but unless you're going to
be doing heavyweight FreeBSD development or you have to buildworld for
a wide variety of OS versions, the cvs repository is probably not what
you want. (Besides, the traditional place to keep the CVS repository
is /home/ncvs).

The simplest way of getting cvsup working is to start with the
appropriate example supfile --- they should be in
/usr/share/examples/cvsup, but were accidentally omitted from one of
the recent releases.  To track stable (RELENG_4), you can use
/usr/share/examples/cvsup/stable-supfile and you don't even have to
edit the file at all.  Just use a command line like:

    cvsup -g -L 2 -h cvsup.ca.freebsd.org /usr/share/examples/cvsup/stable-supfile

If you're tracking one of the security branches you might have to edit
a copy of the stable-supfile and change 'RELENG_4' into 'RELENG_4_6'
one time, but once you're on the appropriate branch (ie. after
{build,install}world), you can just use
/usr/share/examples/cvsup/standard-supfile which is cunningly set up
to track whatever release version you've installed.

In your case, I'd move aside or delete everything you've currently got
under /usr/src and start again with a clean sheet.  Once you've got a
decent copy of /usr/src set up your /etc/make.conf correctly, and you
can run cvsup easily by running 'make update' from /usr/src --- refer
to /etc/defaults/make.conf for details but something like:

    SUP_UPDATE=     yes
    #
    SUP=            /usr/local/bin/cvsup
    SUPFLAGS=       -g -L 2
    SUPHOST=        cvsup.ca.FreeBSD.org
    SUPFILE=        /usr/share/examples/cvsup/stable-supfile
    PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
    DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile

in /etc/make.conf should work for you.

	Cheers

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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?20020903081438.GB20142>