Skip to content

Instantly share code, notes, and snippets.

@liuliuhappy
Created October 18, 2012 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liuliuhappy/3910717 to your computer and use it in GitHub Desktop.
Save liuliuhappy/3910717 to your computer and use it in GitHub Desktop.
CentOS Make it all right
#Subversion 1.7.7
wget http://mirror.bjtu.edu.cn/apache/apr/apr-1.4.6.tar.gz
wget http://mirror.bjtu.edu.cn/apache/apr/apr-util-1.4.1.tar.gz
wget http://www.sqlite.org/sqlite-autoconf-3071100.tar.gz
wget http://www.webdav.org/neon/neon-0.29.6.tar.gz
tar zvxf apr-1.4.6.tar.gz
cd apr-1.4.6
./configure --prefix=/usr/local/apr
make && make install
tar zvxf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1
./configure --with-apr=/usr/local/apr
make && make install
wget http://mirrors.tuna.tsinghua.edu.cn/apache/subversion/subversion-1.7.7.tar.gz
tar zvxf subversion-1.7.7.tar.gz
tar zvxf sqlite-autoconf-3071100.tar.gz
mkdir ~/subversion-1.7.7/sqlite-amalgamation/
cp ~/sqlite-autoconf-3071100/sqlite3.c ~/subversion-1.7.7/sqlite-amalgamation/
tar zvxf neon-0.29.6.tar.gz
./configure --prefix=/usr/local/neon --enable-shared --with-ssl
make && make install
cd subversion-1.7.7.tar.gz
./configure --prefix=/usr/local/subversion --with-neon=/usr/local/neon --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config --with-ssl --with-zlib
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment