[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Newbie trying to check-out to Mac: am I SOL?

From: Cem Karan <ckaran_at_arl.army.mil>
Date: 2007-05-02 13:50:50 CEST

On 5/1/07, David Goldsmith wrote:

> Hi! Newbie (to the list) here. I'm trying to check-out, on a Mac
> using
> the command line svn version 1.3.1, a project checked into our
> repository using Windows TortoiseSVN wrapping Subversion 1.4.3. I'm
> getting the following error:
> subversion/libsvn_wc/questions.c:110: (apr_err=155021)
> svn: This client is too old to work with working copy '.'; please
> get a
> newer Subversion client
> But 1.3.1 appears to be the latest (prebuilt binary) Mac version
> available:

Do you have XCode installed? If you do, then you have the tools you
need to build the latest source. If not, go ahead and install it,
there are a fair number of interesting tools and tidbits that come
with XCode that you might want to have around.

1) Once that is done, download the latest stable source version of
Subversion from http://subversion.tigris.org/servlets/

You MUST also download the matching '*-deps-*' file (also on the page
referenced above)! This includes the neon, apr, etc. libraries,
without which you won't be able to compile subversion.

2) Expand the subversion tarball first, and then the dependencies
tarball on top of it.

3) Since you already have a version of subversion, you'll need to
delete the old subversion libraries. I'm not sure where the pre-
built binaries put their stuff, but if they put it where the ordinary
install does, then you need to do the following as root:

           # rm -f /usr/local/lib/libsvn*
           # rm -f /usr/local/lib/libapr*
           # rm -f /usr/local/lib/libexpat*
           # rm -f /usr/local/lib/libneon*

4) Run 'sh ./autogen.sh' from within the Subversion directory. This
isn't strictly necessary, but it can catch any bugs that you may run
into, like if the dependencies aren't met.

5) './configure --enable-maintainer-mode --with-ssl' There are many
different options to use with the configure script, run './configure
--help' to find all of them. You don't need to enable maintainer
mode, but it will catch more bugs in the compile that way. SSL means
you'll be able to to use 'https://' as a transport protocol.

6) 'make'

7) 'make check' or 'make test'. I can never remember which command
it is, so I run both. It just does a full regression test on your

8) 'make install'

9) Make certain that '/usr/local/bin/' is in your PATH.

Good luck,
Cem Karan

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 2 13:52:00 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.