Your CVSROOT variable in profile is definitely set up correctly.
However, when you type "cvs -d /repository/ init" you must type the
*exact* full path to the repository, not just "cvs -d /repository/
init" (i usually cd back to the machine root when i issue this
command). Also remember that it is helpful to do all of this while
logged in as root.
You might also want to try changing the permissions on all the files
in CVSROOT after it has been created but before you do the import.
You can do this at the UNIX command prompt by typing:
chmod 777 -R *
This will change the permissions every file and dir from CVSROOT on
downward to full read/write access. Alternately, you can set it up
using group access as listed in step 9 on my webpage.
Also remember that after creating the repository via the cvs init
command, you don't place files in there manually - you import then
via cvs import and let cvs copy them to the proper locations.
You must also add the name of the module to the CVSROOT/modules file.
This module name must match exactly the name of the directory you
created and imported to (remeber that the name is case-sensitive
also).
Also remember that the module directory should be right alongside the
CVSROOT directory (i.e in the same dir as the CVSROOT dir and *not*
inside the CVSROOT dir itself).
As for what you need to put into the modules file, see step 11 on my
web page. Basically, you add a line, one for each module in the
following format:
<Module name><TAB> CVSROOT/<Module name>
So if i want to add a module named "Test1" to my CVS server, i would
first create the dir manually according to the steps above, set the
permissions on it, and then add the following line to the very end of
the CVSROOT/modules file on the server:
Test1 CVSROOT/Test1
And then save the file and reboot the server.
Michael C. Amorose
Author FireUtils for Macintosh
Author Sound Core for Macintosh
Author Goo Library for Macintosh
FireWire Watch Webmaster
http://www.fireutils.com
http://www.soundcore.com
http://www.michael-amorose.com/goolibrary
http://www.michael-amorose.com/firewire
-------------------------------------------
At 2:46 PM -0400 7/5/00, [EMAIL PROTECTED] wrote:
>ok well here's some more detail on my problem.
>I set up CVS the following way.
>i created a directory which i wanted to work as the main directory, the
>repository.
>then i typed and added the following to my .profile
>CVSROOT=/afs/fsh/.../repository/
>export CVSROOT
>then typed this, which creat ed the CVSROOT directory
>cvs -d /repository/ init
>then after creating another directory ( dir_name ) with the files i want to
>be controlling, i went into the directory to be controlled, and typed in:
>cvs import -m "Initial import into CVS" dir_name jwargand start
>this spits something out on the unix window, and then after that i type in
>cvs checkout dir_name
>cvs checkout: cannot find module "Testfile" - ignored
>and that comes out and nothing else.
>
>I looked at the profile, and the module files, as you pointed out michael,
>and i also looked at your webpage, but i don't see where to add that to the
>modules file, or what exactly i have to add
>here's my CVSROOT directory:
>
>/afs/fsh/data/de/gym/culp/TestCVS/CVSROOT
>
>thats what it says when i echo CVSROOT.
>
>anybody have any other ideas why it may not be working???
>thanxs
>Jorge
>
>
>
>Matthias Kranz <[EMAIL PROTECTED]> on 07/05/2000 01:17:06 PM
>
>To: Jorge W Argandona/Fishkill/IBM@IBMUS
>cc: CVS-II Discussion Mailing List <[EMAIL PROTECTED]>
>Subject: Re: cvs setup help
>
>
>
>On Wed, Jul 05, 2000 at 09:07:55AM -0400, [EMAIL PROTECTED] wrote:
>> I'm new to this group, and have just started using CVS i think its a
>great
>> program, and have been impressed with it. Everything has been working
>> great with it until i tried setting another computer up, it worked fine
>the
>> first time, except for one little mistake because they were binary files,
>> so i just deleted everything, and ran the whole setup again, and then i
>had
>> made the mistake of setting it up from my unix box, so instead of using
>the
>> CVSROOT in the other computer it wanted to use mine, and since there was
>no
>> access then it would just quit trying. So then i reran it again and now
>it
>> doesn't work at all..does anyone know what the problem could be..??
>please
>> any help would be greatly appreciated. the problem is occurring when
>> trying to checkout a working copy, i get this error
>>
>> cvs checkout: cannot find module "Testfile" - ignored
>
>It is somehow confusing to me ... :).
>
>Please provide us the exact value of
>
> echo $CVSROOT
>
>and/or the commands you are using.
>
>Regards,
>Matthias
>--
>Matthias Kranz [EMAIL PROTECTED]
> http://www.belug.org/~kranz
>"Ever tried. Ever failed. No matter. Try again.
> Fail again. Fail better." (Samuel Beckett)