Showing posts with label serf. Show all posts
Showing posts with label serf. Show all posts

Monday, July 7, 2014

svn1.8.9 with HTTP support.

In new SVN 1.8.9, when you
"svn co http://..."
This will give you an error: 
"svn: .... Unrecognized URL scheme for...."

What is missing? 
try: 
"svn --version" 

you will find "ra_dav" is not there. Older version of SVN need "neon" to support HTTP. But this version needs "serf" .

Install serf

unfortunately you need to first install scons

wget http://prdownloads.sourceforge.net/scons/scons-2.3.2.tar.gz
tar vxf scons-2.3.2.tar.gz
cd scons-2.3.2/
python setup.py install

now you need to the scons you just installed. Mine is in: $HOME/env/bin/scons

wget http://serf.googlecode.com/svn/src_releases/serf-1.3.6.tar.bz2
tar vxf serf-1.3.6.tar.bz2 
cd  serf-1.3.6
 ~/env/bin/scons PREFIX=$HOME/.local
 ~/env/bin/scons install

 install svn.

 just cd into the untarred folder: 
./configure --prefix=$HOME/.local
make 
make install