Upgrade the CVS command line tools

Dec 31, '01 01:11:44PM

Contributed by: carsten

Type cvs -v in the terminal to see which version you have. More than likely you'll see Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)

Here's how to compile version 1.11.1p1. These instructions will replace the existing Apple-supplied CVS files including the html documentation. By default, 'make' wants to install texi info files for the docs, but we're going to trash those and create html versions instead, as with Apple's distribution. Also we change the other default UNIX installation directories to use Mac OS X specific ones.

Read the rest of the article for the step-by-step instructions.

First, a couple of useful links:

CVS Release notes
CVS Download page

Download the 1.11 tar.gz file from the above download page, expand the archive, and then open a Terminal in the expanded folder and execute the following commands:

% setenv LDFLAGS '-framework Kerberos';
% setenv CFLAGS '-O3 -I/usr/include/gssapi/';
% ./configure
--prefix=/usr
--localstatedir=/private/var
--sysconfdir=/private/etc
--mandir=/usr/share/man
--infodir=~/.Trash
--with-gssapi=/usr
--enable-encryption

% make -j10

% sudo make install

% texi2html -split_node ./doc/cvsclient.texi;
% texi2html -split_node ./doc/cvs.texinfo;
% mv ./doc/*.html /Developer/Documentation/Commands/cvs/
[Editor's note: The options after the ./configure command need to be placed on the same line as ./configure, with a space between each argument. They are shown split here to improve readability. I have not personally tried this hint, so I can't vouch for its effectiveness.]

Comments (5)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20011231131144733