You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chris Whelan (JIRA)" <ji...@apache.org> on 2016/08/26 17:17:20 UTC

[jira] [Created] (QPID-7404) CMake build on AIX - nss not detected when turning SSL support on

Chris Whelan created QPID-7404:
----------------------------------

             Summary: CMake build on AIX - nss not detected when turning SSL support on
                 Key: QPID-7404
                 URL: https://issues.apache.org/jira/browse/QPID-7404
             Project: Qpid
          Issue Type: Bug
          Components: Build Tools, C++ Client
    Affects Versions: qpid-cpp-0.34
         Environment: AIX
            Reporter: Chris Whelan
            Priority: Minor


After installing nss on AIX and turning on SSL support in the CMake build, the cmake fails indicating that nss cannot be found.

-- checking for module 'nss'
--   package 'nss' not found
CMake Error at src/CMakeLists.txt:420 (message):
  nss/nspr not found, required for ssl support

However, hardcoding the setting NSS_FOUND to ON in qpid-cpp-0.34/src/CMakeLists.txt and adding the include and link directories below enabled me to generate the make and compile the qpidmessaging target successfully.

include_directories(/opt/freeware/include/nspr4 /opt/freeware/include/nss3)
link_directories(/opt/freeware/lib64 /usr/lib64)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org