On Tue, Jul 06, 2010 at 04:43:26PM +0200, Onno van der Straaten wrote:
> Now the make step fails with
> 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-apxs="/usr/bin/apxs2" --disable-mod-activation
> 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
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