2013/5/22 Olivier Cherrier <[email protected]>

>
>         Hi Vadim,
>
>
> Here are the answers :
>
> > 1. Contents of your
> > ???/usr/ports/pobj/kdepimlibs-4.10.3/build-amd64/kldap/kldap_config.h
>
> $ cat /usr/ports/pobj/kdepimlibs-4.10.3/build-amd64/kldap/kldap_config.h
> #define LDAP_FOUND
> #define SASL2_FOUND
> /* #undef HAVE_WINLDAP_H */
> /* #undef HAVE_LDAP_H */
> #define HAVE_SYS_TIME_H
> /* #undef HAVE_LDAP_START_TLS_S */
> /* #undef HAVE_LDAP_INITIALIZE */
> /* #undef HAVE_BER_MEMFREE */
> /* #undef HAVE_LDAP_UNBIND_EXT */
> /* #undef
> ​​
> HAVE_LDAP_EXTENDED_OPERATION */
> /* #undef HAVE_LDAP_EXTENDED_OPERATION_S */
> /* #undef HAVE_LDAP_EXTENDED_OPERATION_PROTOTYPE */
> /* #undef HAVE_LDAP_EXTENDED_OPERATION_S_PROTOTYPE */
> $
>
>
​Thank you for information.​

​So this is strange, for our OpenLDAP​ you should have
HAVE_LDAP_EXTENDED_OPERATION and some others defined. Could you please send
me (privately, it's long enough) your
/usr/ports/pobj/kdepimlibs-4.10.3/build-amd64/CMakeFiles/CMakeOutput.log
file? You can also look at it on your own: search, e.g., for
"ldap_unbind_ext" in that file (excluding quotes), and see what errors
occured during this test. But please send me the log anyway, to make sure
I'm aware of all issues there.



> > 2. Result of running "grep -i LDAP
> > /usr/ports/pobj/kdepimlibs-4.10.3/build-amd64/CMakeCache.txt"
>
> $ grep -i LDAP /usr/ports/pobj/kdepimlibs-4.10.3/build-amd64/CMakeCache.txt
> LDAP_INCLUDE_DIR:PATH=/usr/local/include
> LDAP_LIBRARIES:FILEPATH=/usr/local/lib/libldap.so.13.0
>
> kabc_ldapkio_LIB_DEPENDS:STATIC=general;KDE4__kio;general;kabc;general;kldap;general;kresources;
> kio_ldap_LIB_DEPENDS:STATIC=general;KDE4__kio;general;kldap;
> kldap_BINARY_DIR:STATIC=/usr/ports/pobj/kdepimlibs-4.10.3/build-amd64/kldap
>
> kldap_LIB_DEPENDS:STATIC=general;KDE4__kio;general;KDE4__kcmutils;general;KDE4__kdecore;general;/usr/local/lib/libldap.so.13.0;general;/usr/local/lib/liblber.so.12.0;general;/usr/local/lib/libsasl2.so.3.0;general;kabc;
>
> kldap_SOURCE_DIR:STATIC=/usr/ports/pobj/kdepimlibs-4.10.3/kdepimlibs-4.10.3/kldap
> //Have function ldap_extended_operation
> HAVE_LDAP_EXTENDED_OPERATION:INTERNAL=
> //Have symbol ldap_extended_operation
> HAVE_LDAP_EXTENDED_OPERATION_PROTOTYPE:INTERNAL=
> //Have function ldap_extended_operation_s
> HAVE_LDAP_EXTENDED_OPERATION_S:INTERNAL=
> //Have symbol ldap_extended_operation_s
> HAVE_LDAP_EXTENDED_OPERATION_S_PROTOTYPE:INTERNAL=
> //Have function ldap_initialize
> HAVE_LDAP_INITIALIZE:INTERNAL=
> //Have function ldap_start_tls_s
> HAVE_LDAP_START_TLS_S:INTERNAL=
> //Have function ldap_unbind_ext
> HAVE_LDAP_UNBIND_EXT:INTERNAL=
> //ADVANCED property for variable: LDAP_INCLUDE_DIR
> LDAP_INCLUDE_DIR-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: LDAP_LIBRARIES
> LDAP_LIBRARIES-ADVANCED:INTERNAL=1
> $
>

​So OpenLDAP itself is found correctly, good.​



>  > 3. Result of running "find /usr/local/include -name ldap.h"
>
> $ find /usr/local/include -name ldap.h -ls
> 1404151  128 -rw-r--r--    1 root     wheel       64751 May  5 19:57
> /usr/local/include/ldap.h
> $
>

This is good too, it seems you don't have any other ldap.h installed, so
it's not the problem of picking up wrong one.


> > ???
> > Also, are you running with recently posted parallel CMake patch, or with
> > one official package/port?
>
> No, I'm running the standard CMake.
> Here is a pkg_info in attachement.
>
> $ sysctl kern.version
> kern.version=OpenBSD 5.3-current (GENERIC.MP) #0: Fri May 10 22:01:22
> CEST 2013
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>

Fine, thanks.

--
  WBR,
  Vadim Zhukov

Reply via email to