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.

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

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>