[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 145501] New: cmake error on Solaris in kdepimlibs with ldap/lber
From: stevee () zuken ! co ! uk
Date: 2007-05-16 13:07:50
Message-ID: 20070516150749.145501.stevee () zuken ! co ! uk
[Download RAW message or body]
------- 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 \
<http://asg.web.cmu.edu/sasl/sasl-library.html> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic