Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-980

Header files are not well copied by make install

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.0.1
    • Component/s: Release
    • None

      cmake version 3.6.0

      Only following header files are well copied :
      /usr/local/include/mongocxx/v_noabi/mongocxx/config/config.hpp
      /usr/local/include/mongocxx/v_noabi/mongocxx/config/export.hpp
      /usr/local/include/mongocxx/v_noabi/mongocxx/config/version.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/algorithm.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/any.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/functional.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/iterator.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/memory.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/numeric.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/optional.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/range.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/string.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/type_traits.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/utility.hpp
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/third_party/mnmlstc/core/variant.hpp

      I followed instructions from wiki :
      git clone -b master https://github.com/mongodb/mongo-cxx-driver
      git checkout r3.0.1
      PKG_CONFIG_PATH=/usr/local/bin/pkg-config cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
      make
      sudo make install

      Install the project...
      – Install configuration: "Release"
      – Installing: /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp
      – Installing: /usr/local/lib/libbsoncxx.3.0.1.dylib
      – Up-to-date: /usr/local/lib/libbsoncxx._noabi.dylib
      – Up-to-date: /usr/local/lib/libbsoncxx.dylib
      – Installing: /usr/local/lib/libbsoncxx.a
      – Installing: /usr/local/lib/cmake/libbsoncxx-3.0.1/libbsoncxx-config.cmake
      – Installing: /usr/local/lib/cmake/libbsoncxx-3.0.1/libbsoncxx-config-version.cmake
      – Installing: /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp
      – Installing: /usr/local/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp
      – Installing: /usr/local/lib/pkgconfig/libbsoncxx.pc
      – Installing: /usr/local/include/mongocxx/v_noabi/mongocxx/config/export.hpp
      – Installing: /usr/local/lib/libmongocxx.3.0.1.dylib
      – Up-to-date: /usr/local/lib/libmongocxx._noabi.dylib
      – Up-to-date: /usr/local/lib/libmongocxx.dylib
      – Installing: /usr/local/lib/libmongocxx.a
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmongocxx.a(libmongoc.cpp.o) has no symbols
      – Installing: /usr/local/lib/cmake/libmongocxx-3.0.1/libmongocxx-config.cmake
      – Installing: /usr/local/lib/cmake/libmongocxx-3.0.1/libmongocxx-config-version.cmake
      – Installing: /usr/local/include/mongocxx/v_noabi/mongocxx/config/config.hpp
      – Installing: /usr/local/include/mongocxx/v_noabi/mongocxx/config/version.hpp
      – Installing: /usr/local/lib/pkgconfig/libmongocxx.pc

      find /usr/local/include/mongocxx/v_noabi/mongocxx/config/
      /usr/local/include/mongocxx/v_noabi/mongocxx/config/
      /usr/local/include/mongocxx/v_noabi/mongocxx/config//config.hpp
      /usr/local/include/mongocxx/v_noabi/mongocxx/config//export.hpp
      /usr/local/include/mongocxx/v_noabi/mongocxx/config//version.hpp

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            fbernard florian bernard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: