Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139048

Summary: openoffice-2.0.3: emerge fails (openldap not found)
Product: Gentoo Linux Reporter: Jens Rutschmann <Jens.Rutschmann>
Component: New packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge log file

Description Jens Rutschmann 2006-07-03 10:48:16 UTC
The openoffice-2.0.3 ebuild seems to have an error concerning the "ldap" use flag.

I tried to emerge openoffice without it set but configure failed because the ldap headers could not be found (which is because I don't have it installed).

This is the error message: (I will also attach the emerge log file to this bug)

...
checking whether to build LDAP configuration backend... yes
checking which LDAP SDK to use... OpenLDAP
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
configure: error: ldap.h not found. install openldap libs
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  openoffice-2.0.3.ebuild, line 250:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



Line 343 in the log file contains both the compile flags "--with-openldap" and "--disable-openldap".
Probably the first one is causing the error.
Comment 1 Jens Rutschmann 2006-07-03 10:50:35 UTC
Created attachment 90796 [details]
emerge log file
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 10:51:54 UTC
*** This bug has been marked as a duplicate of 138959 ***

*** This bug has been marked as a duplicate of 138959 ***