Install Subversion at Mac OSX

1.Download Berkerley DB from oracle website.

   1.1 install Berkeyley DB

  cd db-sourcepath/build-unix

  ../dist/configure –prefix=/opt/local/bdb

  make && sudo make install

2. Install apr and apr-util

   2.1 Download apr and apr-util from apr.apache.org.

   2.2 cd apr-sourcepath

   ./configure –prefix=/opt/local/apr

   make && sudo make install

2.2 cd apr-util-sourcepath

    ./configure –prefix=/opt/local/apr-util –with-apr=/opt/local/apr –with-berkeley-ab=/opt/local/bdb

     make && sudo make install

3. Install subversion

  3.1 Download subversion source

   3.2 cd subversion-sourcepath

     ./configure –prefix=/opt/local/svn –with-apxs=/usr/sbin/apxs –with-apr=/opt/local/apr/apr-1-config –with-apr-util=/opt/local/apr-util/apu-1-config

    make && sudo make install

you can also use mac ports to install subversion. but may need more time.

2 comments

  1. KF.KAFEI says:

    可能还需要配置其他的一些东西, 不然可能无法连接到网络主机.

  2. Subversion lingo is a bit foreign to anyone who has not used it before. So, in the case of someone downloading subversion for the first time, they need to be walked through it. Thanks for walking everyone through this subversion download.

Leave a Reply

Your email address will not be published. Required fields are marked *

*