When I try to update to apache-1.3.33-r1 I get an error during the configuration stage saying that it can't find Berkeleye-DB 1.x, 2.x or 3.x (I have v4.1.25_p1-r4 installed and assumed it was backwards compatible?) Reproducible: Always Steps to Reproduce: emerge -uD apache Actual Results: Calculating world dependencies ...done! >>> emerge (1 of 5) net-www/apache-1.3.33-r1 to / >>> md5 src_uri ;-) apache_1.3.33.tar.gz >>> md5 src_uri ;-) mod_ssl-2.8.22-1.3.33.tar.gz >>> md5 src_uri ;-) apache-patches-1.3.33.tar.bz2 >>> Unpacking source... >>> Unpacking apache_1.3.33.tar.gz to /var/tmp/portage/apache-1.3.33-r1/work >>> Unpacking mod_ssl-2.8.22-1.3.33.tar.gz to /var/tmp/portage/apache-1.3.33-r1/work >>> Unpacking apache-patches-1.3.33.tar.bz2 to /var/tmp/portage/apache-1.3.33-r1/work * Applying various patches (bugfixes/updates) ... * 01_all_gentoo_apachectl.patch ... [ ok ] * 02_all_gentoo_base.patch ... [ ok ] * 03_all_gentoo_suexec_pam.patch ... [ ok ] * 04_all_gentoo_db4_detect.patch ... [ ok ] * Done with patching * Replacing obsolete head/tail with POSIX compliant ones * - fixed src/Configure * - fixed src/helpers/getuid.sh * - fixed src/helpers/fmn.sh * - fixed src/helpers/buildinfo.sh * Applying eapi.patch ... [ ok ]>>> Source unpacked. * Using /etc/apache/apache-builtin-mods for builtins. Configuring for Apache, Version 1.3.33 + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + using custom target name: apache + adding selected modules o rewrite_module uses ConfigStart/End disabling DBM support for mod_rewrite (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS) o dbm_auth_module uses ConfigStart/End o db_auth_module uses ConfigStart/End Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found. Either disable mod_auth_db or provide us with the paths to the Berkeley-DB include and library files. (Hint: INCLUDES, LDFLAGS, LIBS) ===> src make[1]: Entering directory `/var/tmp/portage/apache-1.3.33-r1/work/apache_1.3.33' make[2]: Entering directory `/var/tmp/portage/apache-1.3.33-r1/work/apache_1.3.33/src' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/var/tmp/portage/apache-1.3.33-r1/work/apache_1.3.33/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/var/tmp/portage/apache-1.3.33-r1/work/apache_1.3.33' make: *** [build] Error 2 !!! ERROR: net-www/apache-1.3.33-r1 failed. !!! Function src_compile, Line 122, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. # esearch ^db$ [ Results for search key : ^db$ ] [ Applications found : 1 ] * sys-libs/db Latest version available: 4.1.25_p1-r4 Latest version installed: 4.1.25_p1-r4 Size of downloaded files: 3,008 kB Homepage: http://www.sleepycat.com/ Description: Berkeley DB License: DB Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9n i686) ================================================================= System uname: 2.6.9-gentoo-r9n i686 AMD Athlon(tm) MP 1600+ Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 04:05:38)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.6.3, 1.5, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2, 2.6.8.1-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.ccccom.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://216.220.96.33/gentoo-portage" USE="x86 apm arts avi berkdb bitmap-fonts crypt curl emboss encode foomaticdb freetds gdbm gif gtk2 imagemagick imlib ipv6 ithreads jpeg libg++ libwww mad mcal mikmod mmx motif mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang snmp spell ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Apache 1.3 only supports BDB 1.x, 2.x, and 3.x. We should fix the depends to reflect with when USE=bdb is in effect.
So will there be a USE flag to disable db_auth for Apache 1.x ???
hm, i'm really wondering, because there already is a patch for 1.3: http://www.gentoo.org/cgi-bin/viewcvs.cgi/apache/dist/1.3/patches/01_all_db4_detect.patch?root=gentoo-src&rev=1.1&view=markup i'm looking at this when back from school
sorry, i can't reproduce this, do you have libdb-4.1.so?
% ls -al /usr/lib/libdb* lrwxr-xr-x 1 root root 11 Mar 31 15:07 /usr/lib/libdb-1.so -> libdb1.so.2* -r--r--r-- 1 root root 931458 May 22 2004 /usr/lib/libdb-4.0.a -r--r--r-- 1 root root 713 May 22 2004 /usr/lib/libdb-4.0.la -r-xr-xr-x 1 root root 752831 May 22 2004 /usr/lib/libdb-4.0.so* -rw-r--r-- 1 root root 929620 Mar 31 15:07 /usr/lib/libdb-4.1.a -rw-r--r-- 1 root root 703 Mar 31 15:07 /usr/lib/libdb-4.1.la -rwxr-xr-x 1 root root 645936 Mar 31 15:07 /usr/lib/libdb-4.1.so* lrwxr-xr-x 1 root root 11 Mar 31 15:07 /usr/lib/libdb.a -> libdb-4.1.a lrwxr-xr-x 1 root root 12 Mar 31 15:07 /usr/lib/libdb.so -> libdb-4.1.so* lrwxr-xr-x 1 root root 11 Mar 31 15:07 /usr/lib/libdb.so.2 -> libdb1.so.2* -rw-r--r-- 1 root root 884834 Mar 16 15:21 /usr/lib/libdb1.a lrwxr-xr-x 1 root root 11 Mar 31 15:07 /usr/lib/libdb1.so -> libdb1.so.2* -rwxr-xr-x 1 root root 47160 Mar 16 15:21 /usr/lib/libdb1.so.2* -r--r--r-- 1 root root 1012278 May 22 2004 /usr/lib/libdb_cxx-4.0.a -r--r--r-- 1 root root 741 May 22 2004 /usr/lib/libdb_cxx-4.0.la -r-xr-xr-x 1 root root 820334 May 22 2004 /usr/lib/libdb_cxx-4.0.so* -rw-r--r-- 1 root root 1021366 Mar 31 15:07 /usr/lib/libdb_cxx-4.1.a -rw-r--r-- 1 root root 731 Mar 31 15:07 /usr/lib/libdb_cxx-4.1.la -rwxr-xr-x 1 root root 705208 Mar 31 15:07 /usr/lib/libdb_cxx-4.1.so* lrwxr-xr-x 1 root root 15 Mar 31 15:07 /usr/lib/libdb_cxx.a -> libdb_cxx-4.1.a lrwxr-xr-x 1 root root 16 Mar 31 15:07 /usr/lib/libdb_cxx.so -> libdb_cxx-4.1.so*
I cannot update mod_php et al until I get this resolved.
same problem here but I've got the prior versions of Berkeley db still installed: sys-libs/db-1.85-r1 sys-libs/db-3.2.9-r10 sys-libs/db-4.1.25_p1-r4 are there any news about this problem?
OK, GOOD news. Brief: I had filed a bug report for the net-snmp package, where it was reporting missing thread symbols at the linking stage. Turns out this is a duplicate of another bug affecting the MySQL package. Fixing that problem also fixed this bug. Solution: All of my Gentoo builds have been with the nptl USE flag - this is supposed to build glibc with only NPTL support. It turns out that this was changed awhile back so that it this USE flag now builds TWO versions of glibc - one with pthreads and the other with nptl. I rebuilt glibc with "nptl" AND the new "nptlonly" USE flags in /etc/make/conf. Once glibc was rebuilt, I could successfully emerge net-snmp and the Apache 1.x build proceeded without any errors.