Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7404

CMake build on AIX - nss not detected when turning SSL support on

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: qpid-cpp-0.34
    • Fix Version/s: None
    • Component/s: C++ Build, C++ Client
    • Labels:
      None
    • Environment:

      AIX

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              shuston Steve Huston
              Reporter:
              chriswhelan Chris Whelan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: