Windows & CVS Tips (WinCVS)
From: "Gary R. Van Sickle" (tiberius@braemarinc.com)
Sender: owner-flight-gear@me.umn.edu
Subject: [FGFS] CVS Intructions
Date: Wed, 16 Sep 1998 01:50:21 -0500
Several people have asked me how to get CVS working on Windows.
Here's what I did:
- Download WinCVS (and/or MacCVS) from here:
http://mirror.openspace.ch/maccvs/
- Install it. As of beta 23 (9-10-98) it has a fancy installer,
but you still have to unzip it first. So unzip it to a
temporary directory, then run Setup.exe. (Incidentally, if you
don't have WinZip from http://www.winzip.com/, do
yourself a favor and get it, it is probably the single best
argument in favor of shareware that there is).
- Run it. It will pop up a dialog box and ask you for a 'CVS
Root'. Give it this: anoncvs@kenai.me.umn.edu:/cvs/FlightGear
- In that same dialog, set 'Authentication' to 'passwd' file on
the cvs server', and version to 1.9
- In the same dialog, go to the 'Globals' tab, and push the
'Change Folder' button to set the HOME directory. I created a
'CVSTest' directory on my PC to test it out, but I think the
could just as easily point to the root of your general
development tree (a FlightGear directory gets created in here).
- That should be all you need to do in that dialog. Hit OK.
- Now, WinCVS should be sitting there looking like it's waiting
for you to do something. So, get your IE or Nav up and go to
../cvs.htm/anoncvs.html. This
is Curt's CVS instruction page.
- The current instructions are for command line, but we can work
around that pretty easy, since WinCVS has a command line
dialog. Ignore the first command on that page: it should have
been done automatically. NOTE: There's a Tcl/Tk option with
WinCVS which, if installed, gives you a regular command line in
the lower right pane. This might make the next step somewhat
easier, but I haven't tried it as yet.
- Go to the menu item "CVS Admin / Command Line...". Starting
with "cvs -d :pserver:anoncvs@kenai.me.umn.edu:/cvs/FlightGear
co FlightGear", cut-and-paste the commands, one at a time, into
the command line box. (NOTE: the \'s at the end of the lines
are line breaks (i.e. delete them after you paste the command
line in). That one threw me at first). If WinCVS asks you for a
password or username, use 'guest'.
- Wherever the instructions say 'cd ', click on the 'click to
specify directory' box and use that to change directories. I
believe they are created automatically by the cvs commands, but
if not, create them manually.
- Once you finish all the commands, you should have a complete
Flight Gear directory tree set up.
- On Curt's CVS page, he's got the following command line:
aclocal ; automake -a ; autoconf. That is supposed to set up
the config.h file to your specific setup, but Windows doesn't
have the required commands. I used a config.h from the regular
source download (I think, might have been from the VC++5.0
project download). I don't know how else to get around this
one.
Note from Curt: aclocal, automake, and
autoconf are Unix tools which build the configure script and
construct the Unix makefiles from much simpler input
files. Windows users will only be able to use these tools if
they have the cygnus/egcs compiler environment installed. The
cygnus/egcs packages provides a free windows port of the basic
unix development tools.
That should do it, just 12 easy steps ;-).
Gary R. Van Sickle (tiberius@braemarinc.com)
Electrical Design Engineer
Braemar Inc.
11481 Rupp Dr.
Burnsville, MN 55337
|
|