LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices



Reply
 
Search this Thread
Old 09-28-2006, 11:39 AM   #1
crackinggear
LQ Newbie
 
Registered: Jan 2003
Location: Sweden
Distribution: Ubuntu Server
Posts: 27

Rep: Reputation: 15
Question gentoo, failed merge openldap


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.
 
Old 09-29-2006, 05:47 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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.
 
  


Reply

Tags
emerge, failed, gentoo, openldap, portage


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo failed to start satimis Linux - Distributions 9 09-03-2006 10:09 AM
Gentoo Install Failed / mod_PHP can't be emerged anubis26 Linux - Distributions 2 07-27-2006 10:26 PM
convert and merge a fat32 to ext3 and then merge w/ another ext3? nkoplm Linux - General 3 03-23-2006 11:37 PM
VSFTP on Gentoo - directory listing failed animehair Linux - Software 4 12-10-2004 11:07 AM
failed gentoo, need grub help musicman_ace Linux - Distributions 5 09-08-2004 09:18 PM


All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration