Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-487

[c] Proton CMake modules for libuv might be missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.1.0-GA
    • proton-c
    • None

      When trying to compile the qpid-proton-c examples, during the configuration phase, CMake complains about missing modules. Installing both libuv and libuv-devel does not solve the problem.

      I believe we need to investigate this.

      – The C compiler identification is GNU 4.8.5
      – The CXX compiler identification is GNU 4.8.5
      – Check for working C compiler: /usr/bin/cc
      – Check for working C compiler: /usr/bin/cc – works
      – Detecting C compiler ABI info
      – Detecting C compiler ABI info - done
      – Check for working CXX compiler: /usr/bin/c++
      – Check for working CXX compiler: /usr/bin/c++ – works
      – Detecting CXX compiler ABI info
      – Detecting CXX compiler ABI info - done
      CMake Warning at proactor/CMakeLists.txt:26 (find_package):
      By not providing "FindLibuv.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "Libuv", but
      CMake did not find one.

      Could not find a package configuration file provided by "Libuv" with any of
      the following names:

      LibuvConfig.cmake
      libuv-config.cmake

      Add the installation prefix of "Libuv" to CMAKE_PREFIX_PATH or set
      "Libuv_DIR" to a directory containing one of the above files. If "Libuv"
      provides a separate development package or SDK, be sure it has been
      installed.

      CMake Warning (dev) in CMakeLists.txt:
      No cmake_minimum_required command is present. A line of code such as

      cmake_minimum_required(VERSION 2.8)

      should be added at the top of the file. The version specified may be lower
      if you wish to support older CMake versions for this project. For more
      information run "cmake --help-policy CMP0000".
      This warning is for project developers. Use -Wno-dev to suppress it.

      – Configuring done
      – Generating done
      – Build files have been written to: /usr/share/proton-0.16.0/examples/c/build

              astitcher Andrew Stitcher
              opiske Otavio Piske
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified