Forums Trac

Running Subversion from Trac stack

Subscribe to Running Subversion from Trac stack 2 post(s), 2 voice(s)

 
Avatar markn 1 post

I downloaded and installed the trac stack (on Ubuntu 7.10) to /usr/local/trac. I’m ready to configure the subversion repository that was created during installation, only the svn command results in an error.

The program ‘svn’ is currently not installed. You can install it by typing:
sudo apt-get install subversion
bash: svn: command not found

Do I need to add an alias to the svn command in /usr/local/trac/subversion/bin? Or is there something I missed in the installation?

Thanks
Mark

 
Avatar antonio Administrator 508 post(s)

You’re doing it from the command line, right? You will need to set environment variables so that the installed binaries (like svn or python) replace the ones in your system. This change will only affect to the shell in which you type the command, so don’t be afraid ;) From the shell, change directory to the Trac installation folder and type

. scripts/setenv.sh

Notice the dot before scripts. To check that the default svn is the BitNami one, type

which svn

The output should point to the BitNami binary.

Cheers

Forums Trac