You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2002/04/12 16:54:45 UTC

Re: Installing Subversion

John Tsangaris <jo...@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?

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.

> Also.. any projected date for when 1.0 is coming out?  I'm researching
> subversion for the company I work for (yes, I understand it's
> pre-alpha currently.).

Sometime this summer, we expect.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing Subversion

Posted by Ben Collins-Sussman <su...@collab.net>.
Peter Davis <pd...@attbi.com> writes:

> On Friday 12 April 2002 10:59, Philip Martin wrote:
> > 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.
> 
> I'm not very handy with gnu diff, but if someone could clean up the
> patch to 1587 I sent earlier then there wouldn't have to be a full
> new release.  Short of waiting for M11, of course.

No need, we're probably releasing an M11 tarball today anyway.  :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing Subversion

Posted by Peter Davis <pd...@attbi.com>.
On Friday 12 April 2002 10:59, Philip Martin wrote:
> 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.

I'm not very handy with gnu diff, but if someone could clean up the patch to 
1587 I sent earlier then there wouldn't have to be a full new release.  Short 
of waiting for M11, of course.

On another note, when I tried to build this morning with 1587, libtool was 
breaking on '-pthread', saying something like "library not found `'" (notice 
the empty quotes).  I had to hack up libtool to ignore the -pthread argument.  
Has anyone else had this problem?  Maybe it's just confined to my system 
(Gentoo Linux 1.1a, pretty much stock install).

-- 
Peter Davis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing Subversion

Posted by John Tsangaris <jo...@webevent.com>.
Thanks to all who replied!

I did have a wayward version of subversion which I was trying to install 
(15**).

I just downloaded the current version from the site (1682+) and am 
trying to make, but I have experienced another error:


/usr/i686-pc-linux-gnu/bin/ld: cannot find -lapr
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_subr/libsvn_subr.la] Error 1


Could someone please clarify (and help rectify) this for me?

TIA!

-John


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing Subversion

Posted by Philip Martin <ph...@codematters.co.uk>.
Ben Collins-Sussman <su...@collab.net> writes:

> John Tsangaris <jo...@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