Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2000 14:59:40 -0400
From:      John <papalia@udel.edu>
To:        jim@luna.osd.bsdi.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can't get CVS to work right
Message-ID:  <4.3.1.2.20000716142905.00ac33f0@mail.udel.edu>
In-Reply-To: <20000716111632.A65719@luna.osd.bsdi.com>
References:  <4.3.1.2.20000716130905.00b7eef0@mail.udel.edu> <4.3.1.2.20000716130905.00b7eef0@mail.udel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

> > I was attempting to follow the instructions in the Documentation
> > primer on building the web pages locally (from
> > http://www.FreeBSD.org/tutorials/docproj-primer/x2438.html).
> > Following  the instructions here, I get the error:
> >
> > merlin# cvs -R co www doc
> > cvs checkout: cannot find module `www' - ignored
> > cvs checkout: cannot find module `doc' - ignored
> >
> > Thinking that maybe I was missing some steps, or that the module
> > names changed, I searched and scoured trying to find a listing of
> > module names, to no avail.
>
>What was your CVSROOT set to when you tried that?

it's set to /home/ncvs, and, after getting an error, I did a "mkdir 
/home/ncvs" to create it.

> > So, I've been tooling and toiling for a couple of days now trying to
> > figure out what I'm doing wrong.  I decided to make a different
> > attempt, and go in through the anonymous CVS server, using the info
> > at http://www.freebsd.org/handbook/synching.html .  Here, I got the
> > following errors:
> >
> > merlin# cvs login
> > (Logging in to anoncvs@anoncvs.FreeBSD.org)
> > CVS password:
> > cvs [login aborted]: connect to anoncvs.FreeBSD.org:2401 failed:
> > Connection refused
>
>I get the same thing here -- I've seen similar errors reported by others
>on the lists as well.
>
>[snip..]
>
> > So now, I'm back to being stumped.
> >
> > Any ideas or thoughts or help would be greatly appreciated :)
>
>Use the cvs-supfile in /usr/share/examples/cvsup to get a copy of the
>CVS repository if you're not already.  Make sure you have the
>``doc-all'' and ``www'' collections in it since that's what you're
>trying to build.
>
>Once it's done cvsupping, set your CVSROOT to /home/ncvs (assuming
>that's where you told it to cvsup to).
>
>    # setenv CVSROOT "/home/ncvs"
>
>Then try again.  It should work -- it does here :-)

I actually already had that set.... (CVSup file below), and I run cvsup 
every friday night as a cron job.  So, I just re-ran cvsup, and then 
started over again.

As I read more, I think I see a confusion coming to light.  My impression 
was that "cvs" and "cvsup" were two separate and distinct issues and 
entities.  Are they more directly and closely related that I thought?  Are 
their settings actually closely related?

I removed all the directories I made in /home/ncvs/CVSROOT/ and in 
/var/tmp/webbuild, and tried cvs again, as shown here:

merlin# cvs -R co doc
cvs [checkout aborted]: there is no repository /home/ncvs/doc
merlin# mkdir /home/ncvs/doc
merlin# cvs -R co doc
cvs checkout: Updating doc
merlin# cvs -R co www
cvs checkout: cannot find module `www' - ignored
merlin# cvs -R co www_en
cvs [checkout aborted]: there is no repository /home/ncvs/www/en
merlin# mkdir /home/ncvs/www
merlin# mkdir /home/ncvs/www/en
merlin# cvs -R co www_en
cvs checkout: Updating www_en
merlin# cd doc
merlin# ls -al
total 3
drwxr-xr-x  3 root  wheel  512 Jul 16 14:38 .
drwxr-xr-x  4 root  wheel  512 Jul 16 14:39 ..
drwxr-xr-x  2 root  wheel  512 Jul 16 14:38 CVS
merlin# make links
make: don't know how to make links. Stop

Which I still understand, being without a Makefile.

And lastly, here's the CVSup file that I use (btw, I keep the entire tree 
on it's own file system called /cvs) ...

merlin# cat /cvs/CVSup
*default umask=077
*default release=cvs
*default host=cvsup4.freebsd.org
*default tag=RELENG_4
*default base=/usr/local/etc/cvsup
*default prefix=/cvs
*default delete
*default use-rel-suffix
*default compress
src-all
doc-all
cvs-all
cvs-crypto
www

Side note - "cvs-crypto" comes up with "Unknown collection", which is odd?

Thanks again,
John



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?4.3.1.2.20000716142905.00ac33f0>