chris_d
(x)
6
cd mongo-c-driver-1.17.2
mkdir cmake-build
cd cmake-build
cmake .. -DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF -DCMAKE_INSTALL_PREFIX=~/mongo/mongoc
-- The C compiler identification is ;GNU 4.8.5
-- 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
-- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo
-- Build and install static libraries
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for reallocf
-- Looking for reallocf - not found
-- Performing Test BSON_HAVE_TIMESPEC
-- Performing Test BSON_HAVE_TIMESPEC - Success
-- struct timespec found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for rand_r
-- Looking for rand_r - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for SYS_gettid
-- Looking for SYS_gettid - found
-- Looking for syscall
-- Looking for syscall - found
-- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH
-- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH - Success
-- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH
-- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Searching for zlib CMake packages
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Searching for compression library zstd
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- Checking for module 'libzstd'
-- No package 'libzstd' found
-- Not found
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2k")
-- Looking for ASN1_STRING_get0_data in /usr/lib64/libcrypto.so
-- Looking for ASN1_STRING_get0_data in /usr/lib64/libcrypto.so - not found
-- Searching for sasl/sasl.h
-- Not found (specify -DCMAKE_INCLUDE_PATH=/path/to/sasl/include for SASL support)
-- Searching for libsasl2
-- Not found (specify -DCMAKE_LIBRARY_PATH=/path/to/sasl/lib for SASL support)
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Looking for res_nsearch
-- Looking for res_nsearch - found
-- Looking for res_ndestroy
-- Looking for res_ndestroy - not found
-- Looking for res_nclose
-- Looking for res_nclose - found
-- Looking for sched_getcpu
-- Looking for sched_getcpu - not found
-- Detected parameters: accept (int, struct sockaddr *, socklen_t *)
-- Searching for compression library header snappy-c.h
-- Not found (specify -DCMAKE_INCLUDE_PATH=/path/to/snappy/include for Snappy compression)
-- No ICU library found, SASLPrep disabled for SCRAM-SHA-256 authentication.
-- If ICU is installed in a non-standard directory, define ICU_ROOT as the ICU installation path.
-- libmongocrypt not found. Configuring without Client-Side Field Level Encryption support.
-- Performing Test MONGOC_HAVE_SS_FAMILY
-- Performing Test MONGOC_HAVE_SS_FAMILY - Success
-- Compiling against OpenSSL
-- SASL disabled
-- Building with MONGODB-AWS auth support
-- Build files generated for:
-- build system: Unix Makefiles
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ux1/net/mongo/mongo-c-driver-1.17.2/cmake-build
make install
[ 6%] Built target bson_shared
[ 6%] Built target bcon-speed
[ 11%] Built target bson_static
[ 12%] Built target json-to-bson
[ 12%] Built target bson-streaming-reader
[ 13%] Built target bson-to-json
[ 13%] Built target bson-metrics
[ 13%] Built target bson-validate
[ 14%] Built target bcon-col-view
[ 15%] Built target bson-check-depth
[ 39%] Built target mongoc_shared
[ 40%] Built target common-operations
[ 40%] Built target bulk6
[ 40%] Built target bulk4
[ 40%] Built target bulk3
[ 40%] Built target bulk1
[ 41%] Built target bulk-collation
[ 41%] Built target basic-aggregation
[ 42%] Built target bulk2
[ 42%] Built target mongoc-dump
[ 42%] Built target hello_mongoc
[ 43%] Built target find-and-modify
[ 43%] Built target example-resume
[ 66%] Built target mongoc_static
[ 66%] Built target test-mongoc-cache
[ 66%] Built target aggregation1
[ 67%] Built target test-mongoc-gssapi
[ 68%] Built target example-scram
[ 69%] Built target mongoc-stat
[ 70%] Built target example-command-monitoring
[ 70%] Built target example-collection-watch
[ 70%] Built target fam
[ 95%] Built target test-libmongoc
[ 95%] Built target mongoc-ping
[ 95%] Built target example-sdam-monitoring
[ 95%] Built target example-command-with-opts
[ 96%] Built target bulk5
[ 97%] Built target example-create-indexes
[ 97%] Built target mongoc-tail
[ 97%] Built target example-pool
[ 97%] Built target example-start-at-optime
[ 97%] Built target example-gridfs
[ 98%] Built target example-session
[ 98%] Built target example-client
[ 99%] Built target example-gridfs-bucket
[100%] Built target example-transaction
[100%] Built target example-update
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/ux1/net/mongo/mongoc/share/mongo-c-driver/COPYING
-- Installing: /home/ux1/net/mongo/mongoc/share/mongo-c-driver/NEWS
-- Installing: /home/ux1/net/mongo/mongoc/share/mongo-c-driver/README.rst
-- Installing: /home/ux1/net/mongo/mongoc/share/mongo-c-driver/THIRD_PARTY_NOTICES
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libbson-1.0.so.0.0.0
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libbson-1.0.so.0
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libbson-1.0.so
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libbson-static-1.0.a
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-config.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-version.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bcon.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-atomic.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-clock.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-compat.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-context.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-decimal128.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-endian.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-error.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-iter.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-json.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-keys.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-macros.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-md5.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-memory.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-oid.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-prelude.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-reader.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-string.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-types.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-utf8.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-value.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-version-functions.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson/bson-writer.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libbson-1.0/bson.h
-- Installing: /home/ux1/net/mongo/mongoc/lib64/pkgconfig/libbson-1.0.pc
-- Installing: /home/ux1/net/mongo/mongoc/lib64/pkgconfig/libbson-static-1.0.pc
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/bson-1.0/bson-targets.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/bson-1.0/bson-targets-relwithdebinfo.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/bson-1.0/bson-1.0-config.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/bson-1.0/bson-1.0-config-version.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libbson-1.0/libbson-1.0-config.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libbson-1.0/libbson-1.0-config-version.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libbson-static-1.0/libbson-static-1.0-config-version.cmake
-- Installing: /home/ux1/net/mongo/mongoc/bin/mongoc-stat
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libmongoc-1.0.so.0.0.0
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libmongoc-1.0.so.0
-- Set runtime path of "/home/ux1/net/mongo/mongoc/lib64/libmongoc-1.0.so.0.0.0" to ""
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libmongoc-1.0.so
-- Installing: /home/ux1/net/mongo/mongoc/lib64/libmongoc-static-1.0.a
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-config.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-version.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-apm.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-bulk-operation.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-change-stream.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-client.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-client-pool.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-client-side-encryption.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-collection.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-cursor.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-database.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-error.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-flags.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-find-and-modify.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-gridfs.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-gridfs-bucket.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-gridfs-file.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-gridfs-file-page.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-gridfs-file-list.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-handshake.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-host-list.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-init.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-index.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-iovec.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-log.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-macros.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-matcher.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-opcode.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-prelude.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-read-concern.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-read-prefs.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-server-description.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-client-session.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-socket.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-tls-libressl.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-tls-openssl.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-buffered.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-file.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-gridfs.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-socket.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-topology-description.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-uri.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-version-functions.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-write-concern.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-rand.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-stream-tls.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc/mongoc-ssl.h
-- Installing: /home/ux1/net/mongo/mongoc/include/libmongoc-1.0/mongoc.h
-- Installing: /home/ux1/net/mongo/mongoc/lib64/pkgconfig/libmongoc-1.0.pc
-- Installing: /home/ux1/net/mongo/mongoc/lib64/pkgconfig/libmongoc-static-1.0.pc
-- Installing: /home/ux1/net/mongo/mongoc/lib64/pkgconfig/libmongoc-ssl-1.0.pc
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/mongoc-1.0/mongoc-targets.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/mongoc-1.0/mongoc-targets-relwithdebinfo.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/mongoc-1.0/mongoc-1.0-config.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/mongoc-1.0/mongoc-1.0-config-version.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libmongoc-1.0/libmongoc-1.0-config.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libmongoc-1.0/libmongoc-1.0-config-version.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libmongoc-static-1.0/libmongoc-static-1.0-config.cmake
-- Installing: /home/ux1/net/mongo/mongoc/lib64/cmake/libmongoc-static-1.0/libmongoc-static-1.0-config-version.cmake
-- Installing: /home/ux1/net/mongo/mongoc/share/mongo-c-driver/uninstall.sh