Build subversion 1.8 with SSL on OS X Yosemite

mkdir -p /tmp/buildroot && cd /tmp/buildroot

# Need to build the latest libtool and automake first.

wget http://apache.mirrors.ionfish.org/apr/apr-1.5.2.tar.bz2
tar -jxf apr-1.5.2.tar.bz2 && cd apr-1.5.2
./configure
make && make install
cd ..

wget http://apache.mirrors.ionfish.org/apr/apr-util-1.5.4.tar.bz2
tar -jxf apr-util-1.5.4.tar.bz2 && cd apr-util-1.5.4
./configure
make && make install
cd ..

wget http://serf.googlecode.com/svn/src_releases/serf-1.3.8.tar.bz2
tar -jxf serf-1.3.8.tar.bz2 && cd serf-1.3.8

wget http://liquidtelecom.dl.sourceforge.net/project/scons/scons-local/2.3.0/scons-local-2.3.0.tar.gz
mkdir -p scons-2.3.0 && cd scons-2.3.0
tar -zxf ../scons-local-2.3.0.tar.gz
cd .. && ln -s scons-2.3.0/scons.py scons

./scons APR=/usr/local/apr APU=/usr/local/apr OPENSSL=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr PREFIX=/usr/local
./scons install
cd ..

wget http://apache.fayea.com/subversion/subversion-1.8.13.tar.bz2
tar -jxf subversion-1.8.13.tar.bz2 && cd subversion-1.8.13
./configure --with-openssl --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-serf=/usr/local
make && make install

你可能感兴趣的:(subversion)