Subversion installation script

echo

echo Sample Subversion installation program for Mac OS X

echo by JanakiRam, October 11th, 2007

echo

echo Download source files:

cd ~/Desktop

curl -O http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz

echo Extract the zip archive:

tar xvfz subversion-1.4.5.tar.gz

cd subversion-1.4.5

echo Compile the source code:

./configure –prefix=/usr/local \

–mandir=/usr/local/share/man –with-ssl \

–with-apxs=/usr/local/apache2/bin/apxs –with-zlib \

–enable-swig-bindings=no –without-berkeley-db \

–with-apr=/usr/local/apache2 \

–with-apr-util=/usr/local/apache2

echo Run the make command, and then run the sudo make install command:

make

sudo make install

echo Add the /usr/local/bin path to your profile:

cd ~

echo ‘export PATH=”$PATH:/usr/local/bin”‘ >> .bash_profile

echo All done — Subversion installation successfully completed!

Blogged with Flock

Tags:

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: