Created
March 4, 2016 22:19
-
-
Save tbenz9/5ec599966693d68eafe3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APR="apr-1.5.2" | |
APRUTIL="apr-util-1.5.4" | |
SQLITE="sqlite-amalgamation-3071501" | |
ZLIB="zlib-1.2.8" | |
SVN="subversion-1.8.15" | |
# Setup Dependencies | |
cd /tmp/ | |
curl -s http://mirror.nexcess.net/apache//apr/$APR.tar.gz -o $APR.tar.gz | |
tar xf $APR.tar.gz | |
cd $APR | |
./configure --prefix=$HOME/local/apache | |
make -s | |
make -s install | |
cd /tmp/ | |
curl -s http://mirror.nexcess.net/apache//apr/$APRUTIL.tar.gz -o $APRUTIL.tar.gz | |
tar xf $APRUTIL.tar.gz | |
cd $APRUTIL | |
./configure --prefix=$HOME/local/apache --with-apr=$HOME/local/apache | |
make -s | |
make -s install | |
cd /tmp/ | |
curl -s http://www.sqlite.org/$SQLITE.zip -o /tmp/sqlite-amalgamation.zip | |
unzip /tmp/sqlite-amalgamation.zip | |
cd /tmp/ | |
curl -s http://zlib.net/$ZLIB.tar.gz -o /tmp/zlib.tar.gz | |
tar xf /tmp/zlib.tar.gz | |
cd $ZLIB | |
./configure --prefix=$HOME/local/zlib | |
make -s | |
make -s install | |
# Setup SVN | |
cd /tmp/ | |
curl -s http://apache.mirrors.ionfish.org/subversion/$SVN.tar.gz -o /tmp/subversion.tar.gz | |
tar xf /tmp/subversion.tar.gz | |
cd $SVN | |
mv /tmp/$SQLITE /tmp/$SVN/sqlite-amalgamation | |
./configure --prefix=$HOME/local/apache/ --with-apr=$HOME/local/apache/ --with-apr-util=$HOME/local/apache/ --with-zlib=$HOME/local/zlib/ | |
make -s -j | |
make -s -j install | |
$HOME/local/apache/bin/svn --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment