| Summary: | DB_File ebuild does not find include | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ole Langbehn <neurolabs.de> |
| Component: | New packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | adam, pauldv |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ole Langbehn
2005-03-23 15:59:29 UTC
Please provide the output of ls -al /usr/lib/libdb.* and ls -al /usr/include/db.h - they should have symlinks pointing to the same relative versions. The module's attempt to include /usr/local/BerkeleyDB* can be ignored if your system has a properly installed db (it'll locate it in your path). Thanks! neuro ~ # ls -al /usr/lib/libdb.* lrwxrwxrwx 1 root root 11 Jan 7 17:53 /usr/lib/libdb.a -> libdb-4.2.a lrwxrwxrwx 1 root root 12 Jan 7 17:53 /usr/lib/libdb.so -> libdb-4.2.so lrwxrwxrwx 1 root root 11 Jan 7 18:24 /usr/lib/libdb.so.2 -> libdb1.so.2 neuro ~ # ls -al /usr/include/db.h ls: /usr/include/db.h: No such file or directory so db.h header file is missing. I reemerged the two versions of DB I have installed. No symlink was created in /usr/include. Here are the lists of installed files: >>> Merging sys-libs/db-1.85-r2 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/db1_dump185 --- /usr/lib/ >>> /usr/lib/libndbm.a -> libdb1.a >>> /usr/lib/libndbm.so -> libdb1.so.2 >>> /usr/lib/libdb.so.2 -> libdb1.so.2 >>> /usr/lib/libdb1.a >>> /usr/lib/libdb1.so -> libdb1.so.2 >>> /usr/lib/libdb1.so.2 --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/db-1.85-r2/ --- /usr/share/doc/db-1.85-r2/ps/ >>> /usr/share/doc/db-1.85-r2/ps/dbopen.3.ps.gz >>> /usr/share/doc/db-1.85-r2/ps/mpool.3.ps.gz >>> /usr/share/doc/db-1.85-r2/ps/recno.3.ps.gz >>> /usr/share/doc/db-1.85-r2/ps/btree.3.ps.gz >>> /usr/share/doc/db-1.85-r2/ps/libtp.usenix.ps.gz >>> /usr/share/doc/db-1.85-r2/ps/hash.usenix.ps.gz >>> /usr/share/doc/db-1.85-r2/ps/hash.3.ps.gz --- /usr/share/doc/db-1.85-r2/hash/ >>> /usr/share/doc/db-1.85-r2/hash/README.gz >>> /usr/share/doc/db-1.85-r2/README.gz >>> /usr/share/doc/db-1.85-r2/changelog.gz --- /usr/include/ --- /usr/include/db1/ >>> /usr/include/db1/db.h >>> /usr/include/db1/mpool.h >>> /usr/include/db1/ndbm.h >>> /usr/include/ndbm.h -> db1/ndbm.h >>> Safely unmerging already-installed instance... >>> Merging sys-libs/db-4.2.52_p2 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/db4.2_checkpoint >>> /usr/bin/db4.2_deadlock >>> /usr/bin/db4.2_upgrade >>> /usr/bin/db4.2_archive >>> /usr/bin/db4.2_dump >>> /usr/bin/db4.2_load >>> /usr/bin/db4.2_stat >>> /usr/bin/db4.2_printlog >>> /usr/bin/db4.2_recover >>> /usr/bin/db4.2_verify --- /usr/lib/ >>> /usr/lib/libdb_cxx-4.2.a >>> /usr/lib/libdb_java-4.2.la >>> /usr/lib/libdb_java-4.2.so >>> /usr/lib/libdb-4.2.la >>> /usr/lib/libdb-4.2.so >>> /usr/lib/libdb.a >>> /usr/lib/libdb_tcl-4.2.a >>> /usr/lib/libdb_java-4.2.a >>> /usr/lib/libdb_cxx-4.2.la >>> /usr/lib/libdb_cxx-4.2.so >>> /usr/lib/libdb_tcl-4.2.la >>> /usr/lib/libdb_tcl-4.2.so >>> /usr/lib/libdb_cxx.a >>> /usr/lib/libdb-4.2.a >>> /usr/lib/db-4.2.jar --- /usr/sbin/ >>> /usr/sbin/berkeley_db42_svc --- /usr/share/ --- /usr/share/db/ >>> /usr/share/db/package.env --- /usr/include/ --- /usr/include/db4.2/ >>> /usr/include/db4.2/db.h >>> /usr/include/db4.2/db_185.h >>> /usr/include/db4.2/db_cxx.h >>> Safely unmerging already-installed instance... Paul, Are you still maintainer/stuckee for db? Any ideas why db-4.2.52_p2 wouldn't have included the /usr/include/db.h symlink? Yeah, I'm still stuckee for db. I've just added some informational messages to the db.eclass. Could you try to emerge the 4.2 version of db again and post the last part of the output? The symlinks have been created using the new eclass: lrwxrwxrwx 1 root root 14 M 24 18:40 /usr/include/db_185.h -> db4.2/db_185.h lrwxrwxrwx 1 root root 10 M 24 18:40 /usr/include/db.h -> db4.2/db.h here's the output you requested anyways: >>> Merging sys-libs/db-4.2.52_p2 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/db4.2_checkpoint >>> /usr/bin/db4.2_deadlock >>> /usr/bin/db4.2_upgrade >>> /usr/bin/db4.2_archive >>> /usr/bin/db4.2_dump >>> /usr/bin/db4.2_load >>> /usr/bin/db4.2_stat >>> /usr/bin/db4.2_printlog >>> /usr/bin/db4.2_recover >>> /usr/bin/db4.2_verify --- /usr/lib/ >>> /usr/lib/libdb_cxx-4.2.a >>> /usr/lib/libdb_java-4.2.la >>> /usr/lib/libdb_java-4.2.so >>> /usr/lib/libdb-4.2.la >>> /usr/lib/libdb-4.2.so >>> /usr/lib/libdb.a >>> /usr/lib/libdb_tcl-4.2.a >>> /usr/lib/libdb_java-4.2.a >>> /usr/lib/libdb_cxx-4.2.la >>> /usr/lib/libdb_cxx-4.2.so >>> /usr/lib/libdb_tcl-4.2.la >>> /usr/lib/libdb_tcl-4.2.so >>> /usr/lib/libdb_cxx.a >>> /usr/lib/libdb-4.2.a >>> /usr/lib/db-4.2.jar --- /usr/sbin/ >>> /usr/sbin/berkeley_db42_svc --- /usr/share/ --- /usr/share/db/ >>> /usr/share/db/package.env --- /usr/include/ --- /usr/include/db4.2/ >>> /usr/include/db4.2/db.h >>> /usr/include/db4.2/db_185.h >>> /usr/include/db4.2/db_cxx.h >>> Safely unmerging already-installed instance... --- !mtime obj /usr/share/db/package.env --- !mtime obj /usr/sbin/berkeley_db42_svc --- !mtime obj /usr/lib/libdb_tcl-4.2.so --- !mtime obj /usr/lib/libdb_tcl-4.2.la --- !mtime obj /usr/lib/libdb_tcl-4.2.a --- !mtime obj /usr/lib/libdb_java-4.2.so --- !mtime obj /usr/lib/libdb_java-4.2.la --- !mtime obj /usr/lib/libdb_java-4.2.a --- !mtime obj /usr/lib/libdb_cxx.a --- !mtime obj /usr/lib/libdb_cxx-4.2.so --- !mtime obj /usr/lib/libdb_cxx-4.2.la --- !mtime obj /usr/lib/libdb_cxx-4.2.a --- !mtime obj /usr/lib/libdb.a --- !mtime obj /usr/lib/libdb-4.2.so --- !mtime obj /usr/lib/libdb-4.2.la --- !mtime obj /usr/lib/libdb-4.2.a --- !mtime obj /usr/lib/db-4.2.jar --- !mtime obj /usr/include/db4.2/db_cxx.h --- !mtime obj /usr/include/db4.2/db_185.h --- !mtime obj /usr/include/db4.2/db.h --- !mtime obj /usr/bin/db4.2_verify --- !mtime obj /usr/bin/db4.2_upgrade --- !mtime obj /usr/bin/db4.2_stat --- !mtime obj /usr/bin/db4.2_recover --- !mtime obj /usr/bin/db4.2_printlog --- !mtime obj /usr/bin/db4.2_load --- !mtime obj /usr/bin/db4.2_dump --- !mtime obj /usr/bin/db4.2_deadlock --- !mtime obj /usr/bin/db4.2_checkpoint --- !mtime obj /usr/bin/db4.2_archive --- !empty dir /usr/share/db --- !empty dir /usr/share --- !empty dir /usr/sbin --- !empty dir /usr/lib --- !empty dir /usr/include/db4.2 --- !empty dir /usr/include --- !empty dir /usr/bin --- !empty dir /usr find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Creating db.h symlinks to db4.2 >>> original instance of package unmerged safely. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Creating db.h symlinks to db4.2 >>> Regenerating /etc/ld.so.cache... * Caching service dependencies ... [ ok ] >>> sys-libs/db-4.2.52_p2 merged. In order to get rid of the annoying find messages put the maxdepth option before the type option in the find calls of the eclass Ole - can I assume since there's been no further posting that dev-perl/DB_File emerged fine and this bug can be closed? Yep, if you reread the first lines of my second to last comment you will see that it emerged fine. Sorry if I wasn't clear enough. Just didn't want to close the bug prematurely :) Thanks, Mike *** Bug 99558 has been marked as a duplicate of this bug. *** |