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

Re: Testing with spaces in filenames/paths

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 6 Jul 2010 17:33:36 +0200

On Tue, Jul 06, 2010 at 04:43:26PM +0200, Onno van der Straaten wrote:
> Now the make step fails with
> /home/ostraaten/subversion_export/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
> undefined reference to `apr_hash_do'
> collect2: ld returned 1 exit status
> make: *** [subversion/svn/svn] Error 1
> I think I'm doing the configure step wrong, this is what I now have
> ./configure --with-apr=/home/ostraaten/apr/apr-1.4.2
> --with-apr-util=/home/ostraaten/apr/apr-util-1.3.9
> --with-apxs="/usr/bin/apxs2" --disable-mod-activation
> --with-serf=/usr/local/serf
> with-apr and with-apr-util is probably incorrect but at the moment is
> the only values I found would run. I tried to use my apache2 and the
> installed apr lib (/usr/local/apr/lib) but that wouldn't run.

Try installing libapr-dev and libaprutil-dev packages.
Then you can run:

 ./configure --with-apr=/usr --with-apr-util=/usr
 --with-apxs="/usr/bin/apxs2" --disable-mod-activation

Maybe the same for serf, if your distribution has serf packages.

Having a single instance of the APR library on your system and
using it to build SVN makes things a lot simpler.

Received on 2010-07-06 17:34:39 CEST

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