Summary: | gnome-extra/evolution-data-server-2.22.2 doesn't compile due to "configure: error: cannot find libdb" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Muelli <gentoo-bugs> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log evolution-data-server
e-d-s config.log |
Description
Muelli
2008-06-25 20:49:43 UTC
Created attachment 158441 [details]
build log evolution-data-server
no eds uses system libdb. Please list what versions you have and attach config.log. Hey Eva :) Well, according to a recent thread on e-h, e-d-s ships it's own libdb. That's probably why there is a libdb folder in trunk ;-) The reason for this is given in this thread: http://mail.gnome.org/archives/evolution-hackers/2008-June/msg00035.html But gentoo seems to patch it out with evolution-data-server-1.11.3-no-libdb.patch Anyway, my db version is: [ebuild R ] sys-libs/db-4.5.20_p2 USE="tcl -bootstrap -doc -java -nocxx -test" 9,068 kB And according to the config.log (which I'll attach in a minute) it tries to compile a small C-Code but fails: configure:24915: checking Berkeley DB configure:24940: i686-pc-linux-gnu-gcc -o conftest -I/usr/lib/include -I/usr/include/db4.5 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed conftest.c -L/usr/lib/lib -ldb >&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb collect2: ld returned 1 exit status configure:24946: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "evolution-data-server" | #define PACKAGE_TARNAME "evolution-data-server" | #define PACKAGE_VERSION "2.22.2" | ... | /* end confdefs.h. */ | #include <db.h> | int | main () | { | db_create(NULL, NULL, 0) | ; | return 0; | } configure:24958: error: cannot find libdb The configure call is $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-openldap --without-krb5 --enable-nss --enable-smime --enable-ipv6 --enable-gnome-keyring --with-libdb=/usr/lib --without-krb4 --enable-nss=yes --disable-gtk-doc --build=i686-pc-linux-gnu In fact, I don't have any /usr/lib/include/db.h as the above mentioned call: configure:24940: i686-pc-linux-gnu-gcc -o conftest -I/usr/lib/include -I/usr/include/db4.5 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed conftest.c -L/usr/lib/lib -ldb >&5 might suggest. I do have, however, a or /usr/include/db4.5/db.h and a /usr/include/db.h symlinked to the before mentioned lib. It should actually work then, shouldn't it? Created attachment 158459 [details]
e-d-s config.log
after remerging db, it survives the configure: checking for GNOME_PLATFORM... yes checking for regexec... yes checking Berkeley DB... yes So I guess, this could be closed as NOTABUG or the like. yeah, you probably played too much with your db installation :p closing invalid. Feel free to come again with bugs :p |