Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1150

Can't build r3.0.0: package 'libmongoc-1.0>=1.3.1' not found

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      I can't build r3.0.0. The libbson 1.3.3 and mongo-c-driver 1.3.3 have been installed properly.

      The CMake configure error message is the following:

      ]$ cmake .
      – The CXX compiler identification is GNU 4.9.2
      – Check for working CXX compiler: /bin/c++
      – Check for working CXX compiler: /bin/c++ – works
      – Detecting CXX compiler ABI info
      – Detecting CXX compiler ABI info - done
      – Detecting CXX compile features
      – Detecting CXX compile features - done
      – No build type selected, default is Release
      – The C compiler identification is GNU 4.9.2
      – Check for working C compiler: /bin/cc
      – Check for working C compiler: /bin/cc – works
      – Detecting C compiler ABI info
      – Detecting C compiler ABI info - done
      – Detecting C compile features
      – Detecting C compile features - done
      – checking for module 'libbson-1.0>=1.3.1'
      – found libbson-1.0, version 1.3.3
      – Found LIBBSON: TRUE
      – Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
      – Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
      – Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
      – Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
      – Performing Test COMPILER_HAS_DEPRECATED_ATTR
      – Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
      – checking for module 'libmongoc-1.0>=1.3.1'
      – package 'libmongoc-1.0>=1.3.1' not found
      CMake Error at cmake-3.2.3/Modules/FindPkgConfig.cmake:340 (message):
      A required package was not found
      Call Stack (most recent call first):
      cmake-3.2.3/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
      cmake/FindLibMongoC.cmake:26 (pkg_check_modules)
      src/mongocxx/CMakeLists.txt:23 (find_package)

      – Configuring incomplete, errors occurred!

      Attachments

        1. config.log
          65 kB
        2. PKG_CONFIG_DEBUG_SPEW_CMAKE_OUTPUT.txt
          84 kB

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            andrewponomarenko Andrey Ponomarenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: