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

Re: Trying to build SVN 1.5 on Ubuntu

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 06 Jun 2008 23:41:08 -0700

Robert Dailey wrote:
> Hi,
>
> I'm trying to setup an svn+ssh server on my Ubuntu Server box, however I
> can't seem to get started on the build process. I did 'apt-get install
> subversion' and with that I did a checkout of the subversion trunk, since I

If all you're interested in is 1.5, you checkout the 1.5.x branch. It's
usually more stable[1] than trunk.

> want to run my server as 1.5 and not 1.4. The checkout went fine, but I
> can't get past ./configure, since it cannot find APR or APR-UTIL. I did:
>
> apt-get install libapr1
> apt-get install libaprutil1
>
> However, I do not know what directories these libraries were installed to,
> so I can't properly set --with-apr. I'm extremely new to Linux, so go easy
> on me, I'm probably missing something very obvious. Help in setting up this
> server (more specifically, getting SVN to compile) is greatly appreciated.

It looks like you've hit bug 96980:
https://bugs.launchpad.net/ubuntu/+source/apr-util/+bug/96980

The short answer is that Ubuntu's apr-util has a broken apu-config which
doesn't play nicely with a Subversion build. You may need to build apr
and apr-util from source. Just download the latest releases from
apr.apache.org, and drop them in the apr and apr-util directories
underneath the root of your Subversion working copy.

Oh, and you may need to do the same for neon, since recent versions of
Ubuntu have the same problem with neon.

Hope that helps,
-Hyrum

[1] Stable as in "less features coming and going," not stable as in
"doesn't crash your system, wipe your hard drive and eat kittens for lunch".

Received on 2008-06-07 08:41:35 CEST

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.