How To Compile CVSTrac
Here are the steps for compiling CVSTrac on Unix:
- You will need the SQLite library version 3.3.2 or later. If you
do not already have this library installed, obtain a copy from
¤http://www.sqlite.org/. Note that version 1.2.x of CVSTrac used
SQLite 2.8.x. But version 2.x.x of CVSTrac uses SQLite version 3.x.
- Choose a directory to compile in. The directory in which you compile
does not need to be the same as the source directory. By default,
the compilation directory should be a sibling of the source directory
but this is not required.
- Make a copy of linux-gcc.mk into the compilation directory and rename
it 'Makefile'.
- Edit the file you just copied to adjust the parameters to your system.
- Type "make" to build the CVSTrac executable. To build SvnTrac, "make
APPNAME=svntrac". To build GitTrac, "make APPNAME=gittrac".
- Copy this executable to /usr/bin or /usr/local/bin or
wherever you want to install it.
For additional on how CVSTrac is put together (information you may want
to know if you would like to try to make improvements to CVSTrac) see
CvstracArchitecture. For notes on compiling CVSTrac for windows,
see CvstracOnWindows.
Dependencies
CVSTrac needs the following tools installed:
For SvnTrac or GitTrac, you'll need the appropriate base SCM packages.