Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1959 - libgda breaks if USE has ldap
Summary: libgda breaks if USE has ldap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-20 21:39 UTC by Allen Smith
Modified: 2002-06-07 15:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Smith 2002-04-20 21:39:44 UTC
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
Comment 1 Chris Arndt 2002-04-26 21:34:08 UTC
Seeing the same problem, but no new information.
Comment 2 Edward Muller 2002-04-30 19:35:27 UTC
same here 
Comment 3 Spider (RETIRED) gentoo-dev 2002-05-11 17:46:49 UTC
I have no idea on where to go on this, can somone else look at it please?
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-20 16:07:48 UTC
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.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-07 15:01:43 UTC
LDAP support disabled in new version (0.2.96)