------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=145501 Summary: cmake error on Solaris in kdepimlibs with ldap/lber Product: kontact Version: unspecified Platform: Compiled Sources OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: NOR Component: mail AssignedTo: kdepim-bugs kde org ReportedBy: stevee zuken co uk Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.4.6 OS: Solaris (This bug is in kdepimlibs, but there is no application entry for that in bugs.kde.org) I get this error when running cmake on Solaris: -- ---------------------------------------------------------------------------------- -- The following list of OPTIONAL packages were located on your system. -- -- You will have all the following features available from this software. -- ---------------------------------------------------------------------------------- + boost + OpenLDAP ---------------------------------------------------------------------------------- -- The following list of OPTIONAL packages could NOT be located on your system. -- -- Consider installing them to enable more features from this software. -- ---------------------------------------------------------------------------------- + cyrus-sasl: Cyrus SASL API Needed to support authentication of logins CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: LBER_LIBRARIES (ADVANCED) The problem is that Solaris has an implementation of ldap that is not OpenLDAP which cmake incorrectly identifies as being openldap. The solaris ldap does *not* have a liblber, so that is not found. I worked around it, as I don't need ldap, by changing FindLdap.cmake as in the attached patch so that it only supports ldap if both ldap and lber are found. However I don't think this is correct solution as it will probably break the APPLE specific checks in FindLdap.cmake