Tuesday, April 1, 2008

subversion client upgrade (1.3.2 to 1.4.6) issues

I couldn't run svn update on my command line client on my work linux box because I got
[comcast@linuxdevstation workspace-tru2way]$ cd rngth-TRUNK/
[comcast@linuxdevstation rngth-TRUNK]$ svn update
svn: This client is too old to work with working copy '.'; please get a newer Subversion client

[comcast@linuxdevstation rngth-TRUNK]$ svn help
usage: svn [options] [args]
Subversion command-line client, version 1.3.2.

I downloaded the latest subversion-1.4.6 client (I think it's the client) but could not install because when I ran ./configure, I got
checking for Apache module support via DSO through APXS... no
==================================================================
WARNING: skipping the build of mod_dav_svn
--with-apxs or --with-apache must be used
==================================================================
configure: Apache Portable Runtime (APR) library configuration
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

or

get it with SVN and put it in a subdirectory of this source:

svn co \
http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x \
apr

Run that right here in the top level of the Subversion tree,
then run autogen.sh again.

Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:

svn co \
http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x \
apr-util

configure: error: no suitable apr found

Since I didn't need to mess with it (I use the eclipse subclipse client) I didn't pursue it.

No comments: