Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
When I try to merge openldap in gentoo it fails. This is what I get:
Code:
smbk5pwd.c:45:25: error: kadm5/admin.h: No such file or directory
smbk5pwd.c:46:17: error: hdb.h: No such file or directory
smbk5pwd.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'conf'
smbk5pwd.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
smbk5pwd.c: In function 'k5key_chk':
smbk5pwd.c:275: error: 'krb5_salt' undeclared (first use in this function)
smbk5pwd.c:275: error: (Each undeclared identifier is reported only once
smbk5pwd.c:275: error: for each function it appears in.)
smbk5pwd.c:275: error: expected ';' before 'salt'
smbk5pwd.c:276: error: 'hdb_entry' undeclared (first use in this function)
smbk5pwd.c:276: error: expected ';' before 'ent'
smbk5pwd.c:291: error: 'Key' undeclared (first use in this function)
smbk5pwd.c:291: error: expected ';' before 'ekey'
smbk5pwd.c:296: error: 'ent' undeclared (first use in this function)
smbk5pwd.c:299: error: 'salt' undeclared (first use in this function)
smbk5pwd.c:306: error: 'ekey' undeclared (first use in this function)
smbk5pwd.c:309: error: 'db' undeclared (first use in this function)
smbk5pwd.c:317: error: 'krb5_keyblock' has no member named 'keyvalue'
smbk5pwd.c:318: error: 'krb5_keyblock' has no member named 'keyvalue'
smbk5pwd.c: In function 'smbk5pwd_exop_passwd':
smbk5pwd.c:363: error: 'hdb_entry' undeclared (first use in this function)
smbk5pwd.c:363: error: expected ';' before 'ent'
smbk5pwd.c:375: error: 'ent' undeclared (first use in this function)
smbk5pwd.c:396: error: 'db' undeclared (first use in this function)
smbk5pwd.c:405: error: 'Key' undeclared (first use in this function)
smbk5pwd.c: In function 'smbk5pwd_modules_init':
smbk5pwd.c:789: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
smbk5pwd.c:789: error: invalid type argument of 'unary *'
smbk5pwd.c:829: error: 'KADM5_ADMIN_SERVICE' undeclared (first use in this function)
smbk5pwd.c:832: error: 'conf' undeclared (first use in this function)
smbk5pwd.c:835: error: 'db' undeclared (first use in this function)
make: *** [smbk5pwd.lo] Error 1
!!! ERROR: net-nds/openldap-2.3.27 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
openldap-2.3.27.ebuild, line 320: Called die
!!! failed to compile smbk5pwd module
!!! If you need support, post the topmost build error, and the call stack if relevant.
Any ideas as to what I can do about it? If I'm missing out some info, please tell me!
Edit: Problem solved! I removed "kerberos" from my use flags.
Last edited by crackinggear; 09-28-2006 at 02:35 PM.
This is an ongoing issue with mit-krb5. The bug is around a month old. The current thought is:
un-emerge mit-krb5
emerge heimdal (different kerberos implementation)
emerge openldap
emerge heimdal (yes, a second time)
You USE flags may need to be changed if ldap/kerberos keep trying to use the MIT kerberos. The gentoo forums are littered with this emerge failure. There are one or two hacks that get around a 10% success rate. For info on those hacks, search forums.gentoo.org
Last edited by musicman_ace; 09-29-2006 at 05:48 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.