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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to