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
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..
I'm having this problem too. is anybody working on this or do I have to unmerge ldap?
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.
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 ;)
fixed in the latest revision (r2)