This forum is no longer active. Please post your questions to our new community site

Forums Trac

Running Subversion from Trac stack

Subscribe to Running Subversion from Trac stack 5 post(s), 5 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 621 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

 
Avatar Wes Peters 1 post

The solution to this is to install all of the ‘bin’ directories into your path. It would be really lovely if the installer (Windows in my case, ugh) would do this for you.

 
Avatar mmartin 28 post(s)

I noticed that setenv.bat (on windows) has forward slashes in the path, which appear to be breaking the paths.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Using forward slashes between quotes should not be any problem.

Forums Trac