Sunday, April 26, 2009

Building Subversion 1.6.1 on Mac OS X

I had a problem getting Subversion 1.6.1 to build and run correctly on Mac OS X 10.5.5.

I discovered that the file /usr/local/lib/libsvn_ra_neon-1.0.dylib was linking against the built in neon lib: /usr/lib/libneon.dylib

Using otool on the build subversion ra_neon library, I saw that it was expecting neon version 2.7 and Mac OS X built in is version 2.6.

That particular function "ne_set_connect_timeout" is new in 2.7 causing the subversion RA to fail loading.

I downloaded also the subversion dependencies and copied them all into the subversion directory. Then I built like this:

% ./configure --with-ssl --disable-neon-version-check --without-apsx
% make
% sudo make install

viola.

No comments: