configure: error: Berkeley DB 4.0.14 wasn't found. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-util/subversion-1.5.0_rc5/work/subversion-1.5.0-rc5/config.log * * ERROR: dev-util/subversion-1.5.0_rc5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5789: Called econf 'src_compile' 'src_compile' '--with-swig' '--with-apxs=/usr/sbin/apxs2' '--with-berkeley-db' '--enable-javahl' '--with-jdk=/opt/sun-jdk-1.6.0.06' '--enable-nls' '--with-sasl' '--with-neon=/usr' '--without-serf' '--with-apr=/usr/bin/apr-1-config' '--with-apr-util=/usr/bin/apu-1-config' '--disable-experimental-libtool' '--without-jikes' '--without-junit' * ebuild.sh, line 513: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/subversion-1.5.0_rc5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/subversion-1.5.0_rc5/temp/environment'. The resolution to this is simply not use the berkeley USE flag. But I don't think it's right to require a non-existent package as a dependency. Shingoshi
This error means that no version of Berkeley DB was found. Try: emerge -1 db USE="berkdb" emerge -1 apr-util
(In reply to comment #1) > This error means that no version of Berkeley DB was found. > Try: > emerge -1 db > USE="berkdb" emerge -1 apr-util > I have four different slots filled with db. How is this going to change anything? I don't have any other package complaining about a missing db. This message was specifically asking for one version of db, 4.0.14. That version does NOT exist in the Gentoo portage. I will post my build.log and emerge --info here in one file. That may give you more information here. Shingoshi
Created attachment 152795 [details] subversion-1.5.0_rc5-x86_64-buildlog_emergeinfo_environment All in one file.
(In reply to comment #2) > (In reply to comment #1) > > This error means that no version of Berkeley DB was found. > > Try: > > emerge -1 db > > USE="berkdb" emerge -1 apr-util > > > > I have four different slots filled with db. How is this going to change > anything? So you didn't try these commands? > This message was specifically asking for one version of db, 4.0.14. That > version does NOT exist in the Gentoo portage. It's completely irrelevant. `./configure` prints the same message regardless of which version of Berkeley DB was not found, but it DOES look for other versions. > -That may give you more information here. That gave no useful information.
(In reply to comment #4) > (In reply to comment #2) > > (In reply to comment #1) > > > This error means that no version of Berkeley DB was found. > > > Try: > > > emerge -1 db > > > USE="berkdb" emerge -1 apr-util > > > > > > > I have four different slots filled with db. How is this going to change > > anything? > > So you didn't try these commands? Ok, I *did* try these commands - and they worked. Specfically, re-emerging apr-util caused the subversion emerge to start working and it can now find Berkeley DB. As I too had several version of db already installed, I think it was more likely the re-emerge of apr-util that fixed things. As far as I'm concerned - bug closed.
I had the same problem, emerge apr-util did the trick
the thread should be closed
I now have this package installed with the berkdb USE flag, and don't remember what I did to do so. Shingoshi (In reply to comment #7) > the thread should be closed > I now have this package installed with the berkdb USE flag, and don't remember what I did to do so. Shingoshi
*** Bug 224087 has been marked as a duplicate of this bug. ***
Same subversion-berkeley db problems here. reemerging apr-util did the trick. weird bug eh?
*** Bug 224299 has been marked as a duplicate of this bug. ***
*** Bug 225279 has been marked as a duplicate of this bug. ***
From bug #225279: subversion refuses to build against db-4.6, justifying it with: checking for availability of Berkeley DB... no configure: error: Berkeley DB 4.0.14 wasn't found. In its configure script it checks whether the linked db claims to be version 4.0.14, while db-4.6 does not seem to do that. Symlinking /usr/lib/libdb.so to libdb-4.5.so fixes that.
Your fix worked, too.
(In reply to comment #13) > configure script it checks whether the linked db claims to be version > 4.0.14, while db-4.6 does not seem to do that. configure script checks if Berkeley DB is AT LEAST 4.0.14. > Symlinking /usr/lib/libdb.so to libdb-4.5.so fixes that. It's incorrect workaround.
*** Bug 225503 has been marked as a duplicate of this bug. ***
*** Bug 225861 has been marked as a duplicate of this bug. ***
*** Bug 231537 has been marked as a duplicate of this bug. ***
AFAIK this bug was never fixed and the proposed workaround is plain evil.
(In reply to comment #19) > AFAIK this bug was never fixed This bug should be WORKSFORME or INVALID. Users have to reemerge APR-Util after upgrading Berkeley DB.
(In reply to comment #20) > (In reply to comment #19) > > AFAIK this bug was never fixed > > This bug should be WORKSFORME or INVALID. Users have to reemerge APR-Util after > upgrading Berkeley DB. > In my case, re-emerging Apr-util after the install berkley-db still does not fix the problem ... this bug is not fixed...and the workaround does not always work.
As a further add on... you can get apr, apr-util and berkley-db, install berkley-db, install apr and install apr-util all with reference to the newly installed berkley-db then compile subversion from scratch... that fixes the problem.
In r35017 I have fixed the message: "Berkeley DB 4.0.14 wasn't found." -> "Berkeley DB 4.0.14 or newer wasn't found." >=subversion-1.6_pre35020 ebuilds manually specify Berkeley DB version. https://svn.collab.net/viewvc/svn?view=revision&revision=35017 https://svn.collab.net/viewvc/svn?view=revision&revision=35021 https://svn.collab.net/viewvc/svn?view=revision&revision=35059
(In reply to comment #23) >=subversion-1.6_pre35665 doesn't require that APR-Util be build with support for Berkeley DB. https://svn.collab.net/viewvc/svn?view=revision&revision=35665