While trying to build gnumeric, a libgda emerge was required. libgda failed to build as I have ldap in my USE statement. I resolved this by unmerging openldap and the doing a USE="-ldap" emerge libgda. Here is the error log: Making all in gda-ldap-server make[3]: Entering directory `/var/tmp/portage/libgda-0.2.95/work/libgda-0.2.95/providers/gda-ldap-server' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/freetype2 -I/usr/include/gnome-xml -I/usr/include -I/usr/include/orbit-1.0 -I../../lib/gda-common -I../../lib/gda-common -I../../lib/gda-server -I../../lib/gda-server -I/usr/include -O3 -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -march=i686 -pipe -c gda-ldap-command.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/freetype2 -I/usr/include/gnome-xml -I/usr/include -I/usr/include/orbit-1.0 -I../../lib/gda-common -I../../lib/gda-common -I../../lib/gda-server -I../../lib/gda-server -I/usr/include -O3 -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -march=i686 -pipe -c gda-ldap-connection.c gda-ldap-connection.c: In function `gda_ldap_error_make': gda-ldap-connection.c:292: dereferencing pointer to incomplete type gda-ldap-connection.c:296: dereferencing pointer to incomplete type make[3]: *** [gda-ldap-connection.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/libgda-0.2.95/work/libgda-0.2.95/providers/gda-ldap-server' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgda-0.2.95/work/libgda-0.2.95/providers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgda-0.2.95/work/libgda-0.2.95' make: *** [all-recursive-am] Error 2
Seeing the same problem, but no new information.
same here
I have no idea on where to go on this, can somone else look at it please?
Same for 0.2.96. I am tending to to go for disabling ldap support until this gets resolved. I tried to get to the bottom, but there is no ldap structure in /usr/include/ldap.h or any other ldap header according to which the "typedef struct ldap LDAP;" (if i remember correctly) is defined in /usr/include/ldap.h. LDAP is then used by gda-ldap-connection.c, and this is where the problem is coming in ... Ill try a older/newer version of openldap when I get the time.
LDAP support disabled in new version (0.2.96)