[CCP14 Home: (Frames | No Frames)]
CCP14 Mirrors: [UK] | [CA] | [US] | [AU]

(This Webpage Page in No Frames Mode)

Collaborative Computational Project Number 14

for Single Crystal and Powder Diffraction


Compiling amd Installing the GNU CVS Client

The CCP14 Homepage is at http://www.ccp14.ac.uk

[Back to CCP14 Web/Config Main Page]

[Why compile CVS | Where to get CVS | Extracting tar.Z files | Compiling and Installing GNU CVS | Using CVS]

Why use Gnu CVS

For many Open Source software packages (such as ProFTPD), obtaining the latest fixes requires usings the CVS protocol and system; as they only update the distribution every once in a while.

CVS is a "version control system, and important component of Source Configuration Management (SCM)" Using CVS is quite easy once it is installed. It feels like a command line web grabbing or FTP grabbing program such as snarf, but uses a different protocol.

One problem can be that the version of a program obtained via CVS can be so cutting edge that it does not compiler and/or work. You normally find this out the hard way.

The present versions are quite easy to compile.

The version of GNU CVS used at the time of writing was CVS 1.10 (13th September 2000). This was compiled on an SGI O2 running IRIX 6.5.9.

Extra Information

From: http://www.hpc2n.umu.se/resources/software/IRIX/long.html#cvs

"CVS is a version control system, which allows you to keep old versions of files (usually source code), keep a log of who, when, and why changes occurred, etc., like RCS or SCCS. Unlike the simpler systems, CVS does not just operate on one file at a time or one directory at a time, but operates on hierarchical collections of directories consisting of version controlled files. CVS helps to manage releases and to control the concurrent editing of source files among multiple authors. CVS allows triggers to enable/log/control various operations and works well over a wide area network."

  • Lin CVS: http://www.lincvs.org/
    ("LinCVS acts as a reliable (!) graphical frontend for the CVS-client supporting both CVS-versions 1.9 and 1.10, perhaps even older ones")

  • MacCvs/WinCVS: http://www.wincvs.org/
    (Mac and Windows graphical frontend for the CVS-client)

Where to get GNU CVS

GNU CVS Client software

You need:

  • Latest CVS distribution (cvs-1.10 or greater) (13th September 2000)
If you use a later version than the above, check the INSTALLATION instructions as they may have differed to what is given below.

Some FTP sites you can download the source code (presently 2.5 meg of tar.gz file)

Extracting the Distribution Files

To extract the distribution files:
  • Type: gzip -d < cvs-1.10.tar.gz | tar xvof -
This creates a cvs-1.10 subdirectory where the files are ready to configure and compile.

Compiling and Installing Gnu CVS

  • If you are in the mood normally read the INSTALL or README files and try to figure things out.

  • Due to problems with gcc under SGI IRIX, it is recommended you use the IRIX cc compiler. An easy way to force the system to use cc (GNU tries to go for the gcc compiler if installed) is run bash shell, then do env CC=cc ./configure

  • Run ./configure (it should detect your system and be happy)
  • Type make to compile things up
  • Type make install to install the files into the correct /usr/local area on your system (if you have the permissions).

  • Done

Using CVS

For an example of using CVS refer to the ProFTPD example at http://www.proftpd.net/docs/cvs.html

[CCP14 Home: (Frames | No Frames)]
CCP14 Mirrors: [UK] | [CA] | [US] | [AU]

(This Webpage Page in No Frames Mode)

If you have any queries or comments, please feel free to contact the CCP14