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.
Steps to Reproduce:
Unmask and build subversion-1.1_rc2
Don't use the separate apr releases. Use apache2 instead. It has it's own apr. The problem is that the standalone apr releases are very old compared to apache2.
This is also the reason that subversion blocks on the apr lib. There should now be a masked ebuild in the tree for rc2. Please try using it without going around the deptracking ;-)
apr-1.0.0 is released (finally!). Simply renaming the 0.9.4 ebuild to 1.0.0 works, and helps satisfy the dependency of subversion 1.1.0_rc*. AFAICT, it is ready to be used with ~x86, its working OK for me.
Note that the programs apr-1-config and apu-1-config may affect other software expecting them without the -1. Should there be a symlink?
Also, there is an additional component apr-iconv listed on the apr home page. What is this component needed for, and should we add a use flag for it?
Great news. Let's hope that this release is for real. I'll guess this would be a great simplification of the subversion ebuild. It would also allow apache2 to be build against apr instead of it's own.
Newer apr releases are out, so this bug has been solved.