Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25692 - compile error in pam_userdb.c because of missing db.h
Summary: compile error in pam_userdb.c because of missing db.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-01 04:14 UTC by Chr. Schaefer
Modified: 2004-08-11 21:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chr. Schaefer 2003-08-01 04:14:59 UTC
While "emerge world" after a new installation I got a compile error for pam-
0.75-r11:

pam_userdb.c:33:4: #error "failed to find a libdb or equivalent"

I have -gdbm and -pam in my USE variable. 

After "emerge sys-libs/db" pam compiled without error.

Is this possible because of a missing dependency in the PAM ebuild?

Regards,
Christian.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-05 02:13:53 UTC
It should compile without db, apparently the code to support that is broken.
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-08-05 21:04:44 UTC
the ebuild i have at dev.gentoo.org/~woodchip/pam has good support
for USE=berkdb and USE=pwdb also.

still in development though.
Comment 3 Nick Hadaway 2003-08-15 20:02:06 UTC
I have just tested your 0.77 ebuild with db-4.1.25_p1, gcc-3.3.1, and cflags of "-march=athlon-xp -O3 -pipe" and things look great so far.  If I run into any pam related problems further on down the line, i'll post on this bug, but install went flawless and emerge system seems to have gone just fine.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-15 12:01:58 UTC
what's the status of this?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-11 21:25:49 UTC
given rakers last response of it works for him, and lack of further input from reporter, i'm closing this.