You are currently looking at an older section of the wincent.dev website.
Please check the new version of the site at https://wincent.dev/ for updated content.

wincent knowledge base

« Disaster recovery notes | Main | Building Universal Binaries »

July 15, 2005

Upgrading to Subversion 1.2.1 on Mac OS X 10.4.2

Today I upgraded my local Subversion install from version 1.2 to 1.2.1. Here are some notes I made during the process. Curiously, this time I didn't have any problems building with GCC 4.0 like I did last time. Never really got to the bottom of that one...

# grab and unpack the source
wget http://subversion.tigris.org/downloads/subversion-1.2.1.tar.gz
tar xzvf subversion-1.2.1.tar.gz 
cd subversion-1.2.1/

# stop the server sudo /usr/local/apache2/bin/apachectl stop
# clean up libraries from previous versions sudo rm -f /usr/local/lib/libsvn* sudo rm -f /usr/local/lib/libapr* sudo rm -f /usr/local/lib/libexpat* sudo rm -f /usr/local/lib/libneon*
# work around APR bug (see Subversion FAQ) ac_cv_func_poll=no; export ac_cv_func_poll
# do the actual build sh ./autogen.sh ./configure && make sudo make install
# restart the server sudo /usr/local/apache2/bin/apachectl start

[Update: I later found out that I had to rebuild Apache as well in order to work around the APR bug]

Posted by wincent at July 15, 2005 08:49 PM