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

Re: Installing Subversion

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-12 19:59:09 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> John Tsangaris <johnt@webevent.com> writes:
>
> > I've downloaded subversion and am trying to install. I keep getting
> > an error but have been unable to identify why it's dying (other than
> > what the error says):
> >
> > subversion/mod_dav_svn/log.c: In function `dav_svn__log_report':
> > subversion/mod_dav_svn/log.c:196: too few arguments to function
> > `apr_brigade_create'
> > make: *** [subversion/mod_dav_svn/log.lo] Error 1
> >
> >
> > The criminal line shows:
> >
> > lrb.bb = apr_brigade_create(resource->pool); /* not the subpool! */
> >
> >
> > It looks like it is expecting:
> >
> > APU_DECLARE(apr_bucket_brigade *) apr_brigade_create(apr_pool_t *p)
> >
> >
> > It's been a long time since I've done C.. so it'll take me a little
> > bit to dig into the code to find out what's what.. so I was hoping
> > someone has the 10 second answer.
>
> You're building the the latest SVN tree, right? Revision 1679 or so?

I think he's building the 0.10.2 tarball, that's the one that has the
single argument apr_brigade_create.

>
> Looks like it might be trying to use an old APR library lying around
> your system. Make sure you have the latest APR (from CVS) within your
> tree, and that there isn't an old apr-config binary lying around in
> your /usr/local/bin. Delete any old /usr/local/lib/libsvn* and
> /usr/local/lib/libapr* as well.

Nearly :-) The problem is that he has an APR library that is *newer*
than the tarball, and that is getting used instead of the one bundled
with the tarball. The new APR has the two argument apr_brigade_create.

However the solution is the same, he needs to remove the already
installed apr so that the one bundled with the tarball is used. If
this is not feasible (no root privs, server needs APR, etc.) then a
little 'surgery' on the configure file could be used to force the
bundled APR to be used.

Given that apache-2.0.35 is "the best currently available version",
according to the apache website, perhaps we should release a new
tarball that works with it.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 12 20:00:11 2002

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