You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jeff Kowalczyk <jt...@yahoo.com> on 2004/08/20 16:19:43 UTC

apr-0.9.[5-9] a real dependency of svn 1.1? apr-0.9.4 is latest release

I'm trying to build subversion-1.1_rc2 on gentoo linux. I've been having
the same error during config with all subversion 1.1 prereleases. There is
a configure dependency on apache2's apr, version 0.9.5 or higher. The
newest release version is apr-0.9.4.

Here's the make output:

configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 0.9.4
wanted regex is 0\.9\.[5-9] or 1\.0
configure: error: invalid apr version found

!!! ERROR: dev-util/subversion-1.1.0_rc2 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed

Is the apr-0.9.5 dependency correct? Thanks.


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

Re: apr-0.9.[5-9] a real dependency of svn 1.1? apr-0.9.4 is latest release

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Fri, Aug 20, 2004 at 07:04:51PM +0100, Max Bowsher wrote:
> Jeff Kowalczyk wrote:
> >!!! ERROR: dev-util/subversion-1.1.0_rc2 failed.
> >!!! Function econf, Line 362, Exitcode 1
> >!!! econf failed
> >
> >Is the apr-0.9.5 dependency correct? Thanks.
> 
> Yes.

Not really true.  Subversion builds fine against the apr{,-util} 0.9.4. 
The 0.9.5 requirement is enforced to prevent use of the old snapshots of
apr 0.9 which were distributed with old httpd releases - check the list
archives.

joe



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

Re: apr-0.9.[5-9] a real dependency of svn 1.1? apr-0.9.4 is latest release

Posted by Max Bowsher <ma...@ukf.net>.
Jeff Kowalczyk wrote:
> I'm trying to build subversion-1.1_rc2 on gentoo linux. I've been having
> the same error during config with all subversion 1.1 prereleases. There is
> a configure dependency on apache2's apr, version 0.9.5 or higher. The
> newest release version is apr-0.9.4.
>
> Here's the make output:
>
> configure: Apache Portable Runtime (APR) library configuration
> checking for APR... yes
> checking APR version... 0.9.4
> wanted regex is 0\.9\.[5-9] or 1\.0
> configure: error: invalid apr version found
>
> !!! ERROR: dev-util/subversion-1.1.0_rc2 failed.
> !!! Function econf, Line 362, Exitcode 1
> !!! econf failed
>
> Is the apr-0.9.5 dependency correct? Thanks.

Yes.

apr has a nasty habit of not making release very often at all. As a result, 
subversion generally recommends you obtain apr and apr-util from the srclib 
subdirectory of the latest apache httpd source tarball.

Note that 2.0.50 actually contains a bug in apr - it sets the sticky bit on 
all newly created directories. There's a workaround in trunk, and cleared 
for backport to 1.1.x, but the easiest interim solution may be to fix apr 
(*before* compiling apr, apr-util, subversion).

Patch:
http://cvs.apache.org/viewcvs.cgi/apr/include/apr_file_info.h?r1=1.40.2.5&r2=1.40.2.6

Max.


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