Date: Sun, 16 Jul 2000 13:14:11 -0700 From: Jim Mock <jim@luna.osd.bsdi.com> To: John <papalia@udel.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can't get CVS to work right Message-ID: <20000716131410.A99465@luna.osd.bsdi.com> In-Reply-To: <4.3.1.2.20000716142905.00ac33f0@mail.udel.edu>; from papalia@udel.edu on Sun, Jul 16, 2000 at 02:59:40PM -0400 References: <4.3.1.2.20000716130905.00b7eef0@mail.udel.edu> <4.3.1.2.20000716130905.00b7eef0@mail.udel.edu> <20000716111632.A65719@luna.osd.bsdi.com> <4.3.1.2.20000716142905.00ac33f0@mail.udel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Jul 2000 at 14:59:40 -0400, John wrote: > > > 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. Ok, there's part of the problem right there. If that directory didn't exist, you didn't have a local copy of the repository, which is why it was giving you not found errors. > > > 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? They are two separate things -- but the best way to get the CVS repository is by using CVSup :-) > I removed all the directories I made in /home/ncvs/CVSROOT/ and in > /var/tmp/webbuild, and tried cvs again, as shown here: As I said earlier, you shouldn't have had to make any directories to begin with. [snip..] > 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 Then you want to set your CVSROOT to /cvs instead of /home/ncvs. Or you can make a symlink to it.. # cd /home # ln -fs /cvs ncvs > Side note - "cvs-crypto" comes up with "Unknown collection", which is > odd? It seems you're not keeping up with your mail :-) That collection is now part of src-all. - jim -- /* jim mock - berkeley software design, inc - open source division */ /* documentation manager - jim@FreeBSD.org - jim@luna.osd.bsdi.com */ 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?20000716131410.A99465>