To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105016
                 Issue #|105016
                 Summary|extensions: ldap stuff fails to build in m58 with Open
                        |LDAP
               Component|framework
                 Version|DEV300m58
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|mh
             Reported by|rene





------- Additional comments from r...@openoffice.org Sat Sep 12 11:50:21 +0000 
2009 -------
[ P2. It is bad. Many distros use --enable-openldap since they can't use
system-mozilla *and* LDAP otherwise ]

since m58:

Compiling: extensions/source/config/ldap/ldapuserprofilebe.cxx
ccache g++  -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wunini
tialized -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -DWITH_OPENLDAP -DLD
AP_DEPRECATED -I.  -I../../../unxlngx6.pro/inc/ldapbe -I../inc -I../../../source
/inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pr
o/inc -I. -I/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-bui
ld/build/dev300-m58/solver/300/unxlngx6.pro/inc/stl -I/home/rene/Debian/Pakete/o
penoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/solver/300/unxlngx
6.pro/inc/external -I/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.
0/ooo-build/build/dev300-m58/solver/300/unxlngx6.pro/inc -I/home/rene/Debian/Pak
ete/openoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/solenv/unxlng
x6/inc -I/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/
build/dev300-m58/solenv/inc -I/home/rene/Debian/Pakete/openoffice.org/openoffice
.org-3.2.0/ooo-build/build/dev300-m58/res -I/home/rene/Debian/Pakete/openoffice.
org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/solver/300/unxlngx6.pro/inc/
stl -I/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/bui
ld/dev300-m58/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/j
vm/java-6-openjdk/include/linux -I/usr/lib/jvm/java-6-openjdk/include/native_thr
eads/include -I/usr/include -I/home/rene/Debian/Pakete/openoffice.org/openoffice
.org-3.2.0/ooo-build/build/dev300-m58/solver/300/unxlngx6.pro/inc/mozilla  -I/ho
me/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300
-m58/solver/300/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe  -Wno-ctor-d
tor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -g1 -Wall -Wextra -W
endif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -
DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -
D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DH
AVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/
usr/include/c++/4.3 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEV
EL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSHAREDLIB -D_DLL_   -fexcepti
ons -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../../unxlngx6.pro/slo/ldapuser
profilebe.o /home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-bui
ld/build/dev300-m58/extensions/source/config/ldap/ldapuserprofilebe.cxx
In file included from
/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/extensions/source/config/ldap/ldapuserprofilebe.hxx:36,
                 from
/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/extensions/source/config/ldap/ldapuserprofilebe.cxx:35:
/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/extensions/source/config/ldap/ldapaccess.hxx:52:
error: ISO C++ forbids declaration of 'LDAP_API' with no type
/home/rene/Debian/Pakete/openoffice.org/openoffice.org-3.2.0/ooo-build/build/dev300-m58/extensions/source/config/ldap/ldapaccess.hxx:52:
error: typedef 'extensions::config::ldap::LDAP_API' is initialized (use
__typeof__ instead)
[...]

It seems the ldap stuff got a major overhaul (move from linkage to dlopen(), and
you of course bogusly dlopen() libldap.so which no one even has installed except
people who compile against libldap and thus have the -dev package installed, if
at all dopen()ing it you should dlopen() the proper SONAME). What was the reason
for this? Can this 
 a) be fixed to build with OpenLDAP again?
 b) if possible be fixed to (at least optionally) having linkage to libldap?

Anyway, tried tho look at which cws introduced this but no cws touched
extensions/soruce/config/ldap between m57 and m58 according to EIS but that
obviously can't be true. I suspect crm11a11y which in EIS has no "Files" section
at all and only "Internal task"s.... :-((

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to