checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /bin/install -c checking GCC version... 3.4.6 checking for libgcrypt-config... yes checking gcrypt version... 1.2.2 checking for pkg-config... /usr/bin/pkg-config checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking Berkeley Database library version... 4.3 checking for in -ldb-4.3... no checking for in -ldb4... no configure: error: db.h reports Berkeley DB version is 4.3 but no db-4.3 library exists !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/dctc-0.85.9/work/dctc-0.85.9/config.log !!! ERROR: net-p2p/dctc-0.85.9 failed. Call stack: ebuild.sh, line 1531: Called dyn_compile ebuild.sh, line 931: Called src_compile ebuild.sh, line 598: Called econf ebuild.sh, line 533: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if rel evant.
Created attachment 88211 [details] my config.log My config.log
Created attachment 88212 [details] my emerge -v --info
same bugs on 4.4
Should be fixed now.
Still getting the same error. Whatever Karol did to try and solve it did not work.
Thanks for fast response :) but wait for about 1h for ebuild propagate on rsync servers :)
still a problem, reopening
Someone will need to write a new configure.in file. It can't find the libraries correctly, even though they are there. checking for db_env_create in -ldb-4.2... no -ldb-4.2 exists on my system.
(In reply to comment #8) > Someone will need to write a new configure.in file. It can't find the libraries > correctly, even though they are there. > > checking for db_env_create in -ldb-4.2... no > > -ldb-4.2 exists on my system. > it misses the following binaries: checking Berkeley Database library version... 4.2 checking for db_env_create in -ldb-4.2... no <-- missing checking for db_env_create in -ldb4... no configure: error: db.h reports Berkeley DB version is 4.2 but no db-4.2 library exists (stable db on x86)
Hi! I have very similar problem on x86 with db 4.2. I briefly looked at configure script of this package and it seems, db 4.2 (nor 4.3) is not supported. The highest supported version is 4.1. It seems, this package is quite obsolete.
there was a sed line in the ebuild that let it work fine with <=db-4.2. removing that sed broke this package for everyone on stable. --- /usr/portage/net-p2p/dctc/dctc-0.85.9.ebuild 2006-06-06 15:06:24.000000000 -0600 +++ dctc-0.85.9.ebuild 2006-08-13 19:36:24.000000000 -0600 @@ -26,6 +26,12 @@ epatch "${FILESDIR}"/dctc-0.85.9-gcc41.patch eautoreconf + + # fix for #26708 (db4 support) + local dbfunc="`grep '^#define.*db_env_create' /usr/include/db.h | awk '{print $NF}'`" + if [ "${dbfunc}" != "db_env_create" ] ; then + sed -i "s:db_env_create:${dbfunc}:g" configure + fi } src_install() {
*** Bug 154482 has been marked as a duplicate of this bug. ***
Dunno folks, it compiles just fine here even w/ sys-libs/db-4.3.29-r2 <snip> checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking Berkeley Database library version... 4.3 checking for db_env_create in -ldb-4.3... yes </snip>
you're right, it's working for me now too. i tried different combos of stable and testing db versions and it didn't break. if anyone here is still hitting this bug, speak up now. ;d
Yes, I have the very same problem. Here is my emerge --info: Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 x86_64) ================================================================= System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Sun, 17 Dec 2006 01:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo " LANG="cs_CZ.utf8" LC_ALL="cs_CZ.utf8" LINGUAS="cs" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa apache2 bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups directfb dlloader dri dvd dvdr dvdread elibc_glibc emul-linux-x86 ffmpeg firefox fortran gdbm gif gpm hal iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ linguas_cs lirc_devices_all lm_sensors mad mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd python qt qt3 readline reflection samba sdl session spl ssl startup-notification svg tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia vorbis xinerama xml xorg xosd xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY The error message is: checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking Berkeley Database library version... 4.2 checking for db_env_create in -ldb-4.2... no checking for db_env_create in -ldb4... no configure: error: db.h reports Berkeley DB version is 4.2 but no db-4.2 library exists !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/dctc-0.85.9/work/dctc-0.85.9/config.log !!! ERROR: net-p2p/dctc-0.85.9 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 605: Called econf ebuild.sh, line 540: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 104224 [details] diacone_config.log
Had the same problem, patch in comment #11 fixed it.
In CVS, thanks.
*** Bug 163250 has been marked as a duplicate of this bug. ***
Last Sync: Mon, 22 Jan 2007 01:47:01 +0000 The ebuild seems to have workaround according to comment #11 but still it doesn't works for me with db-4.3 and db-4.2 installed.
Okay, here's the thing. That fix only works if db-4.2 is installed, if db-4.3 in installed, the configure script fails.
Okay, i guess it's fixed now.