Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Subversion and aprutils complaining about DB version[solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Unclethommy
Guru
Guru
Posts: 407
Joined: Mon Jul 24, 2006 9:17 am

Subversion and aprutils complaining about DB version[solved]

  • Quote

Post by Unclethommy » Sat Oct 06, 2007 6:43 pm

Hi there, I am having a problem since my last emerge -uDa world.

Subversion and aprutils especially are both coming up with the following error:

Code: Select all

checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether libtool accepts --tag=XXX... yes
checking whether libtool needs -no-undefined... no
checking whether to avoid circular linkage at all costs... no
checking for trang... none
checking for socket in -lsocket... no
checking for availability of Berkeley DB... no
configure: error: Berkeley DB 4.0.14 wasn't found.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-util/subversion-1.4.4-r4/work/subversion-1.4.4/config.log
 *
 * ERROR: dev-util/subversion-1.4.4-r4 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   subversion-1.4.4-r4.ebuild, line 122:   Called econf '--disable-javahl' '--with-swig' '--with-neon=/usr' '--without-apxs' '--with-apr=/usr/bin/apr-1-config' '--with-apr-util=/usr/bin/apu-1-config' '--with-berkeley-db' '--enable-nls' '--disable-experimental-libtool' '--disable-mod-activation'
 *   ebuild.sh, line 591:   Called die
 *
 * 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.4.4-r4/temp/build.log'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

 * Messages for package dev-util/subversion-1.4.4-r4:

 *
 * ERROR: dev-util/subversion-1.4.4-r4 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   subversion-1.4.4-r4.ebuild, line 122:   Called econf '--disable-javahl' '--with-swig' '--with-neon=/usr' '--without-apxs' '--with-apr=/usr/bin/apr-1-config' '--with-apr-util=/usr/bin/apu-1-config' '--with-berkeley-db' '--enable-nls' '--disable-experimental-libtool' '--disable-mod-activation'
 *   ebuild.sh, line 591:   Called die
 *
 * 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.4.4-r4/temp/build.log'.
 *
 * unmounting tmpfs ...                                   

Now from what I can read of the last line before the break, it looks like it is looking for a specific version of berkely DB 4.0.14 , I have the following installed:

1.85-r3
3.2.9-r11
4.2.52_p4-r2
4.5.20_p2

I don't know what subversion's purpose is, but I seem to have at least two versions which are higher than the requirement of 4.0.14.... will i need to install this exact version using an ebuild pr something to get it (and other programs) to install correctly? I've tried remerging db but this hasn't helped.
Last edited by Unclethommy on Sat Nov 17, 2007 10:53 pm, edited 1 time in total.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sat Oct 06, 2007 7:04 pm

Well, the subversion dependency is for any version 4 Berkeley DB, so I would try re-emerging one of 'em:

Code: Select all

emerge -1v =sys-libs/db-4.5.20_p2
Bet it helps.

- John
Top
Unclethommy
Guru
Guru
Posts: 407
Joined: Mon Jul 24, 2006 9:17 am

  • Quote

Post by Unclethommy » Sun Oct 07, 2007 1:28 pm

john_r_graham, i've remerged the db version, unfortunately i get the same error as before, here's my emerge --info:

Code: Select all

Portage 2.1.3.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) MP 1900+
Timestamp of tree: Sat, 06 Oct 2007 09:30:07 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/synce /usr/portage/local/layman/berkano /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa asf berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fortran gdbm gpm iconv ipv6 isdnlog jpeg kde midi mp3 mudflap mysql nas ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl png ppds pppd python qt readline reflection samba server session spl ssl tcpd truetype-fonts type1-fonts unicode v4l win32codecs x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="leadtek_pvr2000" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Top
Arfrever
Bodhisattva
Bodhisattva
Posts: 2463
Joined: Sat Apr 29, 2006 5:27 pm
Location: 異世界

  • Quote

Post by Arfrever » Sun Oct 07, 2007 2:38 pm

Try:

Code: Select all

emerge -1 apr-util
Perduodu linkėjimus
Arfrever
Top
Unclethommy
Guru
Guru
Posts: 407
Joined: Mon Jul 24, 2006 9:17 am

  • Quote

Post by Unclethommy » Sun Oct 07, 2007 2:59 pm

not working,

getting

Code: Select all

checking for gdbm_open in -lgdbm... yes
configure: error: Berkeley DB not found.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-libs/apr-util-1.2.8/work/apr-util-1.2.8/config.log
 *
 * ERROR: dev-libs/apr-util-1.2.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   apr-util-1.2.8.ebuild, line 46:   Called econf '--datadir=/usr/share/apr-util-1' '--with-apr=/usr' '--with-expat=/usr' '--with-gdbm' '--without-pgsql' '--without-sqlite2' '--without-sqlite3' '--with-dbm=db46' '--with-berkeley-db=/usr/include/db4.6:/usr/lib'
 *   ebuild.sh, line 591:   Called die
 *
 * 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-libs/apr-util-1.2.8/temp/build.log'.
 *

 * Messages for package dev-libs/apr-util-1.2.8:

 *
 * ERROR: dev-libs/apr-util-1.2.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   apr-util-1.2.8.ebuild, line 46:   Called econf '--datadir=/usr/share/apr-util-1' '--with-apr=/usr' '--with-expat=/usr' '--with-gdbm' '--without-pgsql' '--without-sqlite2' '--without-sqlite3' '--with-dbm=db46' '--with-berkeley-db=/usr/include/db4.6:/usr/lib'
 *   ebuild.sh, line 591:   Called die
 *
 * 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-libs/apr-util-1.2.8/temp/build.log'.
 *
Top
Arfrever
Bodhisattva
Bodhisattva
Posts: 2463
Joined: Sat Apr 29, 2006 5:27 pm
Location: 異世界

  • Quote

Post by Arfrever » Sun Oct 07, 2007 3:05 pm

Unclethommy wrote:

Code: Select all

configure: error: Berkeley DB not found.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-libs/apr-util-1.2.8/work/apr-util-1.2.8/config.log
 *
 * ERROR: dev-libs/apr-util-1.2.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   apr-util-1.2.8.ebuild, line 46:   Called econf '--datadir=/usr/share/apr-util-1' '--with-apr=/usr' '--with-expat=/usr' '--with-gdbm' '--without-pgsql' '--without-sqlite2' '--without-sqlite3' '--with-dbm=db46' '--with-berkeley-db=/usr/include/db4.6:/usr/lib'
 *   ebuild.sh, line 591:   Called die
 *
 * 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-libs/apr-util-1.2.8/temp/build.log'.
 * 
You need APR-Util >=1.2.10 for Berkeley DB 4.6.

Perduodu linkėjimus
Arfrever
Top
Unclethommy
Guru
Guru
Posts: 407
Joined: Mon Jul 24, 2006 9:17 am

  • Quote

Post by Unclethommy » Tue Oct 09, 2007 12:13 pm

version 4.6 of DB is masked at the moment. Do I need 4.6 to solve this error? I can try to keyword apr-utils version 1.2.10 if this helps? Why do I need DB 4.6?

okay so I have keyworded the latest version of apr and apr utils. I now have:

apr 0.9.12
apr 1.2.11

apr-utils 0.9.12
apr-utils 1.2.10

These installed fine without the error i've had before. However, the latest version of apr-utils 0.9.12-r1 fails with the same error:

Code: Select all

configure: error: Berkeley DB not found.
Top
staffan
n00b
n00b
Posts: 29
Joined: Sun Oct 31, 2004 8:54 pm
Location: Sweden

  • Quote

Post by staffan » Mon Nov 12, 2007 5:04 pm

I got this error today from Subversion 1.4.5. It does indeed say that it wants Berkeley DB 4.0.14 and there is no sign of 4.0.* in the tree.

I have 1.85-r2, 4.2.52_p4-r2, 4.3.29-r2, 4.5.20_p2 and 4.6.21 installed.

Any ideas? I'll try to look at this a bit later but I have no time right now so I thought I could ask if anyone have any bright ideas.

Thanks in advance.
/S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall)
Top
Unclethommy
Guru
Guru
Posts: 407
Joined: Mon Jul 24, 2006 9:17 am

  • Quote

Post by Unclethommy » Mon Nov 12, 2007 9:25 pm

Ditto for me, any help would be greatly appreciated so I can unmask the latest version of apr-utils :)
Top
staffan
n00b
n00b
Posts: 29
Joined: Sun Oct 31, 2004 8:54 pm
Location: Sweden

  • Quote

Post by staffan » Thu Nov 15, 2007 7:32 pm

I'm sure this is no help whatsoever :) but a few days later I simply tried again (after synching) and this time it worked. Either there was something temporarily wrong with my system or someone fixed something. I don't know...
/S
"I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?'" (Larry Wall)
Top
Unclethommy
Guru
Guru
Posts: 407
Joined: Mon Jul 24, 2006 9:17 am

  • Quote

Post by Unclethommy » Sat Nov 17, 2007 10:52 pm

I think it's been fixed as my system emerged fine now too. Thanks for the heads up.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic