在Amazon ami安装subversion 1.7.2

On 2011年12月15日, in tips, by netoearth

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

Tagged with:  

Comments are closed.