Join our Discussion Boards - Here

How to build subversion 1.7.2 on a Amazon ami from source

Get the source code

wget http://mirror.nus.edu.sg/apache/subversion/subversion-1.7.2.tar.gz

extract it

tar xvfz subversion-1.7.2.tar.gz

then go into directory

cd subversion-1.7.2

I need to get Sqlite since the one installed did not play nice, I followed the error instructions;

get the sqlite 3.7.6.3 amalgamation from:

http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz

unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/root/subversion-1.7.2/sqlite-amalgamation/sqlite3.c

So;

wget http://www.sqlite.org/sqlite-amalgamation-3070900.zip
unzip sqlite-amalgamation-3070900.zip
mkdir subversion-1.7.2/sqlite-amalgamation/
cp sqlite-amalgamation-3070900/sqlite3.c subversion-1.7.2/sqlite-amalgamation/

then;

./configure –with-sqlite=/usr/bin/sqlite3
make
make install

P.S.
I have a problem with mod_dav_svn which required that I add the Modules to /etc/httpd/conf/httpd.conf, and then re-install subversion after I had install Neon. You require neon to allow http connections to svn.

You must be logged in to post a comment.