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.
CVSTrac needs the following tools installed:
- SQLite version 3.x, obtain copy from http://www.sqlite.org. (You only need this to compile - not to run. You can omit this if you are using a precompiled binary.)
- diffutils 2.8.1, obtain copy from http://www.gnu.org/software/diffutils
- rcs 5.7, http://www.gnu.org/software/rcs
sqlite3command-line tools are necessary for upgrading older CVSTrac databases to the most recent version.