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 */
$
> 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
$
> 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
$
> ???
> 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
Thanks a lot,
--
Olivier Cherrier - Symacx.com
mailto:[email protected]
ImageMagick-6.7.7.7p2 image processing tools
OpenEXR-1.6.1p2 high dynamic range image format
akonadi-1.9.1 PIM cache and access services
aspell-0.60.6.1p1 spell checker designed to eventually replace Ispell
at-spi2-atk-2.8.1 atk-bridge for at-spi2
at-spi2-core-2.8.0 service interface for assistive technologies
atk-2.8.0 accessibility toolkit used by gtk+
attica-0.4.0 collaboration services library for KDE
autoconf-2.13p2 automatically configure source code on many Un*x platforms
autoconf-2.59p3 automatically configure source code on many Un*x platforms
autoconf-2.63 automatically configure source code on many Un*x platforms
autoconf-2.65 automatically configure source code on many Un*x platforms
autoconf-2.67 automatically configure source code on many Un*x platforms
autoconf-2.68 automatically configure source code on many Un*x platforms
autoconf-2.69p0 automatically configure source code on many Un*x platforms
automake-1.10.3p6 GNU Standards-compliant Makefile generator
automake-1.11.6p0 GNU Standards-compliant Makefile generator
automake-1.12.6 GNU Standards-compliant Makefile generator
automoc4-0.9.88p0 K Desktop Environment, frontend to moc
avahi-0.6.31p7 framework for Multicast DNS Service Discovery
avahi-qt3-0.6.31p2 qt3 bindings for avahi
bash-4.2.45 GNU Bourne Again Shell
bison-2.3p0 GNU parser generator
bitlbee-3.2p1 IRC proxy to connect to AIM, ICQ, Jabber, MSN and Yahoo
boost-1.53.0p1 free peer-reviewed portable C++ source libraries
bzip2-1.0.6p0 block-sorting file compressor, unencumbered
cagibi-0.2.0 SSDP cache/proxy daemon for KDE
cairo-1.12.14 vector graphics library
cdparanoia-3.a9.8p0 CDDA reading utility with extra data verification features
check-0.9.9 unit test framework for C programs
clucene-core-2.3.3.4p0 full-text search engine library
cmake-2.8.10.2p4 portable build system
cmockery-0.1.2p0 library to simplify writing unit tests for C applications
consolekit-0.4.5p9 framework for defining and tracking users
cppunit-1.12.1 c++ unit testing framework
cscope-15.8a code browsing program
cups-libs-1.6.2 CUPS libraries and headers
curl-7.26.0p1 get files from FTP, Gopher, HTTP or HTTPS servers
cyrus-sasl-2.1.26p0-ldap RFC 2222 SASL (Simple Authentication and Security
Layer)
db-4.6.21v0 Berkeley DB package, revision 4
dbus-1.6.8p5v0 message bus system
dbus-glib-0.100.2v0 glib bindings for dbus message system
dbus-python-1.1.1p0 dbus bindings for Python
dbusmenu-qt-0.9.2 D-Bus menu implementation for Qt
dconf-0.16.0p0 configuration backend system
desktop-file-utils-0.21p0 utilities for dot.desktop entries
dia-0.97.2p6 technical diagrams drawing tool
djvulibre-3.5.25.3p0 view, decode and encode DjVu files
docbook-4.5p1 technical documentation XML/SGML definitions
docbook-dsssl-1.72p0 modular DSSSL stylesheets for the DocBook DTD
docbook-xsl-1.68.1p5 docbook XSL modular stylesheet
doxygen-1.8.2 source code documentation generator tool
e2fsprogs-1.41.4p8 utilities to manipulate ext2 filesystems
enca-1.14 detect character set and encoding of text files
enchant-1.6.0p1 generic spell checking library/wrapper
exiv2-0.23 manipulate image meta-data such as exif and ipct
ffmpeg-20130319 audio/video converter and streamer
fftw3-3.2.2p2 C routines for computing the Discrete Fourier Transform
fftw3-common-3.2.2p0 common files for the fftw3 packages
firefox-20.0 Mozilla web browser
flac-1.2.1p3 free lossless audio codec
freetds-0.91.49 database drivers for Sybase/Microsoft SQL Server
fribidi-0.19.5 library implementing the Unicode Bidirectional Algorithm
fstyp-0.1 determines file system type
gamin-0.1.10p20 file and directory monitoring system
gconf2-3.2.6p0 configuration database system for GNOME
gdbm-1.10 GNU dbm
gdk-pixbuf-2.28.1 graphic library for gtk+2
geoclue-0.12.99p1 modular geoinformation service on top of D-Bus
gettext-0.18.2p2 GNU gettext
ghostscript-9.06p1-a4-no_x11 GNU PostScript interpreter
ghostscript-fonts-8.11p2 35 standard PostScript fonts with Adobe name aliases
gkrellm-2.3.5p4 single process stack of system monitors for GTK+2
glib-1.2.10p4 useful routines for C programming
glib2-2.36.1p0 general-purpose utility library
glib2-networking-2.36.1 network-related gio modules for glib2
gmake-3.82p2 GNU make
gmp-5.0.2p2 library for arbitrary precision arithmetic
gnokii-0.6.14p17 tools to talk to GSM cellular phones
gnome-icon-theme-3.8.0 base icon theme for GNOME
gnome-icon-theme-symbolic-3.8.0.1 base icon theme extension for special UI
contexts
gnugetopt-1.1.4p2 GNU getopt(1) utility
gnupg-1.4.13 GNU privacy guard - a free PGP replacement
gnutls-3.1.10 GNU Transport Layer Security library
gobject-introspection-1.36.0 GObject Introspection
gpgme-1.3.1p0 GnuPG Made Easy
gpsd-2.95p4 service daemon that monitors one or more GPSes
grantlee-0.3.0 template and text document library for Qt
graphite2-1.2.1 rendering for complex writing systems
groff-1.22.2 GNU troff typesetter
gsettings-desktop-schemas-3.8.0 collection of shared GSettings schemas
gsm-1.0.13p0 u-law to gsm encoding audio converter and library
gstreamer-0.10.36p5 framework for streaming media
gstreamer-ffmpeg-0.10.13p7 ffmpeg element for GStreamer
gstreamer-plugins-base-0.10.36p6 base elements for GStreamer
gstreamer-plugins-good-0.10.31p7v0 good elements for GStreamer
gstreamer-plugins-ugly-0.10.19p2 ugly elements for GStreamer
gstreamer1-1.0.7 framework for streaming media
gstreamer1-plugins-base-1.0.7 base elements for GStreamer
gstreamer1-plugins-libav-1.0.7 ffmpeg elements for GStreamer
gtar-1.26p1 GNU version of the traditional tape archiver
gtk+-1.2.10p10 General Toolkit for X11 GUI
gtk+2-2.24.17p3 multi-platform graphical toolkit
gtk+3-3.8.1 multi-platform graphical toolkit
gtk-update-icon-cache-2.24.17p0 gtk+ icon theme caching utility
gvfs-1.16.1 GNOME Virtual File System
harfbuzz-0.9.14 text shaping library
help2man-1.41.1 generates simple manual pages from program output
hicolor-icon-theme-0.12p2 fallback theme of the icon theme specification
hunspell-1.3.2 spelling, stemming, morphological analysis and generation
icu4c-51.1 International Components for Unicode
ijs-0.35p1 raster image transmission library
ilmbase-1.0.1p2 ILM base libraries
iniparser-3.1p0 ini file parsing library
intltool-0.50.2 internationalization tools
iodbc-3.52.7p1 ODBC 3.x driver manager
irssi-0.8.15p3 modular IRC client with many features (ipv6,socks,proxy)
iso8879-1986p0 character entity sets from ISO 8879:1986 (SGML)
jasper-1.900.1p2 reference implementation of JPEG-2000
jbig2dec-0.11 decoder for JBIG2 monochrome hi-res image compression format
jbigkit-2.0 lossless image compression library, with lightweight version
jhead-2.97p0 Exif jpeg camera setting parser and thumbnail remover
jpeg-9p0 IJG's JPEG compression utilities
json-c-0.11 JSON implementation in C
kactivities-4.10.3 KDE Activity rooms management
kdelibs-4.10.3 KDE core libraries
kwebkitpart-1.2 Webkit-based KPart for KDE
lame-3.99.5 lame ain't an MP3 encoder
lcms-1.18a color management library
lcms2-2.4p0 color management library
ldapvi-1.7p5 update LDAP entries with a text editor
liba52-0.7.5p0 free library for decoding ATSC A/52 streams, aka AC-3
libao-1.1.0 portable audio output library
libarchive-3.0.4p0 multi-format archive and compression library
libart-2.3.21 high-performance 2D graphics library
libass-0.10.1 portable ASS/SSA subtitle renderer
libassuan-2.1.0 IPC library used by GnuPG and gpgme
libaudiofile-0.3.6 SGI audiofile library clone
libbluray-0.2.3 library supporting Blu-ray playback
libcanberra-0.30 implementation of the Freedesktop sound theme spec.
libcroco-0.6.8p0 generic CSS parsing library for GNOME project
libdaemon-0.14 lightweight C library that eases the writing of daemons
libdmtx-0.7.4 library for handling data matrix barcodes
libdv-1.0.0p0 Quasar DV codec
libdvdcss-1.2.13 descramble scrambled DVDs
libdvdnav-4.2.0p2v0 DVD navigation library
libdvdread-4.2.0p2 accessing DVD files
libelf-0.8.13p1 read, modify, create ELF files on any arch
libexecinfo-0.2p3v0 clone of backtrace facility found in the GNU libc
libffi-3.0.9p3 Foreign Function Interface
libgcrypt-1.5.1 crypto library based on code used in GnuPG
libgnome-keyring-3.8.0 library for gnome keyring integration
libgpg-error-1.11 error codes for GnuPG related software
libical-0.48p0 implementation of basic iCAL protocols
libiconv-1.14p0 character set conversion library
libidn-1.26 internationalized string handling
libltdl-2.4.2 GNU libtool system independent dlopen wrapper
libmad-0.15.1bp3 high-quality MPEG audio decoder
libmng-1.0.10p1 Multiple-image Network Graphics (MNG) reference library
libnettle-2.6p0 cryptographic library
libogg-1.3.0 Ogg bitstream library
libproxy-0.4.11 library handling all the details of proxy configuration
libqrencode-3.1.1 library for encoding data in a QR Code symbol
libqzeitgeist-0.8.0 Qt wrapper for Zeitgeist, event logging framework
libreoffice-3.6.5.2p1v0 multi-platform productivity suite
librsvg-2.36.4p2 SAX-based render library for SVG files
libsecret-0.14p0 library for storing and retrieving passwords and secrets
libshout-2.2.2p1 library for communicating with an icecast server
libsidplay-1.36.57p3 C64 music player and SID chip emulator library
libsigsegv-2.10 library for handling page faults in user mode
libsndfile-1.0.25p0 library to handle various audio file formats
libsoup-2.42.2 SOAP implementation in C
libsoup-gnome-2.42.2 GNOME specific libsoup parts
libssh-0.5.4 C library implementing server and client side
libstdc++-4.6.3p10 GNU compiler collection: C++ compiler library
libtalloc-2.0.1 hierarchical memory pool system with destructors
libtasn1-3.2 Abstract Syntax Notation One structure parser library
libtheora-1.1.1p2 open video codec
libtool-2.4.2 generic shared library support script
libungif-4.1.4p1 tools and library routines for working with GIF images
libusb-compat-0.1.4p0 libusb-0.1 compatibility layer for libusb1
libusb1-1.0.9p8 library for USB device access from userspace
libvorbis-1.3.3p0 audio compression codec library
libvpx-1.1.0p0 Google VP8 video codec
libwebp-0.2.1 Google WebP image format conversion tool
libwmf-0.2.8.4p0 WMF handling and conversion library
libxml-2.9.0p0 XML parsing library
libxslt-1.1.28 XSLT C Library for GNOME
libyajl-2.0.4 small JSON library written in ANSI C
lightning-1.9beta1p3v0 Mozilla Thunderbird calendar extension
lzo2-2.06p0 portable speedy lossless data compression library
m4-1.4.16 GNU m4
meanwhile-1.0.2p3 implementation of Lotus Sametime Community Client protocol
metaauto-1.0 wrapper for gnu auto*
minitube-1.9p1 standalone YouTube.com video browser/player
mozilla-dicts-en-GB-1.3 en-GB dictionary for Mozilla
mozilla-dicts-fr-1.3 fr dictionary for Mozilla
mpfr-3.1.0.3 library for multiple-precision floating-point computations
mpg123-1.15.3 fast console MPEG audio player and decoder library
mplayer-20130214p3 movie player supporting many formats
mysql-client-5.1.68 multithreaded SQL database (client)
mysql-server-5.1.68p0 multithreaded SQL database (server)
neon-0.29.6p2 HTTP and WebDAV client library, with C interface
nepomuk-core-4.10.3 KDE Nepomuk core libraries
nepomuk-widgets-4.10.3 Nepomuk-based KDE Plasma widgets
netpbm-10.35.88p0 toolkit for converting images between different formats
nspr-4.9.5 Netscape Portable Runtime
nss-3.14.3 libraries to support development of security-enabled apps
openjade-1.3.3pre1p0 object-oriented DSSSL engine
openjpeg-1.5.0p3 open-source JPEG 2000 codec library
openldap-client-2.4.35 open-source LDAP software (client)
openmotif-2.3.4p0 Motif toolkit
opensp-1.5.2 object-oriented SGML parser
opus-1.0.2 IETF audio codec
orc-0.4.16p2 library and toolset to operate arrays of data
ossp-uuid-1.6.2p1 ISO-C API and CLI for generating UUIDs
oxygen-icons-4.10.3 KDE 4 default icon theme
p11-kit-0.16.4p0 library for loading and enumurating of PKCS#11 modules
p5-Clone-0.34 recursively copy Perl datatypes
p5-DBD-mysql-4.022 MySQL drivers for the Perl DBI
p5-DBI-1.622 unified perl interface for database access
p5-FreezeThaw-0.5001 module for converting structures to strings and back
p5-MLDBM-2.05 store multi-level hash structure in single-level tied hash
p5-Net-Daemon-0.48 extension for portable daemons
p5-Params-Util-1.07 utility to make parameter checking easier
p5-PlRPC-0.2018p1 module for writing rpc servers and clients
p5-SQL-Statement-1.33 sql parsing and processing
p5-XML-Parser-2.41p0 perl module for parsing XML documents
pango-1.34.0 library for layout and rendering of text
pcre-8.32 perl-compatible regular expression library
phonon-4.6.0 multimedia layer for Qt4/KDE4
phonon-gstreamer-4.6.3 GStreamer-based Phonon backend
pilot-link-0.12.5p5 tools to connect your PalmOS(R) compatible handheld
png-1.5.15 library for manipulating PNG images
polkit-0.110p2 framework for granting privileged operations to users
polkit-qt4-0.103.0p0 PolicyKit authentication agent for for Qt4
poppler-0.22.2 PDF rendering library
poppler-qt4-0.22.2 qt4 interface to PDF rendering library
popt-1.16 getopt(3)-like library with a number of enhancements
postgresql-client-9.2.4 PostgreSQL RDBMS (client)
postgresql-server-9.2.4 PostgreSQL RDBMS (server)
prison-1.0 Qt-based barcode abstraction library
pulseaudio-3.0p3 cross-platform networked sound server
py-gobject-2.28.6p5v0 Python bindings for glib2 gobject (deprecated)
py-isodate-0.4.9 ISO 8601 date/time/duration parser and formater
py-rdflib-3.2.2 library to manipulate RDF data
py-setuptools-0.6.11p5v0 simplified packaging system for Python modules
py-xdg-0.25p0 python library to access freedesktop.org standards
python-2.7.4p0 interpreted object-oriented programming language
qca-1.0p6 Qt Cryptographic Architecture
qca-tls-1.0p10 Qt Cryptographic Architecture, TLS plugin
qca2-2.0.3p2 Qt Cryptographic Architecture
qjson-0.8.1 Qt-based library that maps JSON data to QVariant objects
qt3-mt-3.8p7 C++ X11 GUI toolkit
qt3-sqlite3-0.2p5 qt3 sqlite3 plugin
qt4-4.8.2p7 C++ X11 GUI toolkit
qt4-mysql-4.8.2p1 MySQL plugin for qt4
qt4-postgresql-4.8.2p1 PostgresSQL plugin for qt4
quirks-1.81 exceptions to pkg_add rules
raptor-2.0.8 RDF Parser Toolkit for Redland
rasqal-0.9.29 RDF Query Library for Redland
recode-3.6p7 convert files between character sets and usages
redland-1.0.15 high-level interface for RDF
ruby-1.8.7.370p1 object oriented script language with threads
samba-3.6.14p0 SMB and CIFS client and server for UNIX
schroedinger-1.0.11p0 high-speed Dirac codec
sdl-1.2.15p3 cross-platform multimedia library
shared-desktop-ontologies-0.10.0 shared desktop ontologies
shared-mime-info-1.1 shared mime database for desktops
soprano-2.9.0 RDF framework
sound-theme-freedesktop-0.8p0 XDG sound theme
speex-1.2rc1p0 patent-free speech codec
spidermonkey-1.8.5p6 Mozilla C implementation of JavaScript
sqlite-2.8.17p3 Embedded SQL implementation
strigi-0.7.7pl1 document indexer
taglib-1.8p5 managing meta-data of audio formats
tcl-8.5.13 Tool Command Language
tdb-1.2.7 trivial database library
thunderbird-17.0.5 Mozilla e-mail, rss and usenet client
tidyp-1.04v0 validate, correct and pretty-print HTML
tiff-4.0.3p2 tools and library routines for working with TIFF images
transfig-3.2.5ap0 tools to convert Xfig's .fig files
tremor-20120410p0 integer-only, fully Ogg Vorbis compliant decoder library
twolame-0.3.13p0 optimised MPEG Audio Layer 2 (MP2) encoder
unzip-6.0p0 extract, list & test files in a ZIP archive
vala-0.20.1 compiler for the GObject type system
vim-7.3.850-no_x11-perl-python-ruby vi clone, many additional features
vorbis-tools-1.4.0p0 play, encode, and manage Ogg Vorbis files
wavpack-4.60.1p0 audio codec for lossless, lossy and hybrid compression
webkit-gtk3-2.0.1p0v0 open source web browser engine for Gtk+
x264-20130302 free H.264/MPEG-4 AVC encoder
xdg-utils-1.1.0rc1p3 utilities to assist desktop integration tasks
xmlto-0.0.25 front-end for converting XML files to various formats
xombrero-1.4.0p1v1 vi-like minimalists web browser
xpdf-3.03p0 PDF viewer for X11
xvidcore-1.3.2p2 ISO MPEG-4 compliant video codec
xz-5.0.4p0 LZMA compression and decompression tools
youtube-dl-2013.04.22 command-line program to download videos from YouTube.com
zeitgeist-0.9.5v0 event logging framework
zip-3.0 create/update ZIP files compatible with PKZip(tm)