Bug 12513 - libgda-0.2.96: LDAP support prevents compilation
Bug#: 12513 Product:  Gentoo Linux Version: 1.4_rc1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: irriger.axel@gmx.de
Component: GNOME
URL: 
Summary: libgda-0.2.96: LDAP support prevents compilation
Keywords:  
Status Whiteboard: 
Opened: 2002-12-21 04:06 0000
Description:   Opened: 2002-12-21 04:06 0000
libgda-0.2.96-r2 has ldap support disables in the ebuild script. Regardless,
the
configure script delivered with the source tarball does not understand a
--without-ldap parameter. Therefor, if OpenLDAP is installed, it is included in
the Makefile and results in an error during compilation

------- Comment #1 From Axel Irriger 2002-12-21 04:13:15 0000 -------
The configure script doesn't make a distinction between --with-ldap and
--without-ldap.
Furthermore there's no if-clause deciding wether to check for ldap or not.
So I think a patch against the configure script should be made..

------- Comment #2 From David T. Yorke 2002-12-24 14:21:39 0000 -------
I'm having this problem too.  is anybody working on this or do I have to
unmerge
ldap?

------- Comment #3 From Simon ARNAUD 2002-12-29 09:41:20 0000 -------
As Adam Gelwarg said :
"I think the ebuild should have --disable-ldap instead of --without-ldap."
from http://bugs.gentoo.org/show_bug.cgi?id=6551

It worked for me.

I hope Foser will have another look into it.

------- Comment #4 From foser (RETIRED) 2003-01-11 19:22:01 0000 -------
Well, actually it looks like '--disable-ldap' gets completely ignored.
'--without-ldap' triggers the ldap check anyway. So the suggestions works, but
giving no ldap configure parameter should work fine as well.

I'll fix it in time, but i might have to wait until after the freeze.

Thanks for bringing that old report in ;)

------- Comment #5 From foser (RETIRED) 2003-01-12 19:43:04 0000 -------
fixed in the latest revision (r2)