checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-freebsd11.1 checking host system type... x86_64-unknown-freebsd11.1 checking target system type... x86_64-unknown-freebsd11.1 checking for PHP prefix... /usr/local/php/5.6.36-nfsn1 checking for PHP includes... -I/usr/local/php/5.6.36-nfsn1/include/php -I/usr/local/php/5.6.36-nfsn1/include/php/main -I/usr/local/php/5.6.36-nfsn1/include/php/TSRM -I/usr/local/php/5.6.36-nfsn1/include/php/Zend -I/usr/local/php/5.6.36-nfsn1/include/php/ext -I/usr/local/php/5.6.36-nfsn1/include/php/ext/date/lib checking for PHP extension directory... /usr/local/php/5.6.36-nfsn1/libexec checking for PHP installed headers prefix... /usr/local/php/5.6.36-nfsn1/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable MongoDB support... yes, shared checking PHP version... 5.6.36-nfsn1 checking whether to enable developer build flags... no checking whether to enable code coverage... no checking whether to use system libbson... no checking whether to use system libmongoc... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking for g++... no checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking accept ARG2 => struct sockaddr ARG3 => socklen_t ... ok checking for an ANSI C-conforming const... yes checking for inline... inline checking for typeof syntax and keyword spelling... typeof checking for __sync_add_and_fetch_4... yes checking for __sync_add_and_fetch_8... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for strings.h... (cached) yes checking whether byte ordering is bigendian... no checking for strnlen... yes checking for reallocf... yes checking for syscall... yes checking for SYS_gettid... no checking for snprintf... yes checking for struct timespec... yes checking for library containing clock_gettime... none required checking for library containing floor... -lm checking for gmtime_r... yes checking for rand_r... yes checking if compiler needs -Werror to reject unknown flags... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... yes checking whether PTHREAD_ONCE_INIT needs braces... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PHP_MONGODB_SNAPPY... yes checking for PHP_MONGODB_ZLIB... yes checking for res_nsearch... no checking for res_search... no checking whether to enable SASL for Kerberos authentication... auto checking for PHP_MONGODB_SASL... yes checking for sasl_client_done in -lsasl2... yes checking which SASL library to use... cyrus checking whether to enable crypto and TLS... auto checking deprecated option for OpenSSL library path... auto checking for PHP_MONGODB_SSL... yes checking whether ASN1_STRING_get0_data is declared... no checking which TLS library to use... openssl checking whether to use system crypto profile... no checking deprecated option for whether to use system crypto profile... no checking for shm_open... yes checking for sched_getcpu... no checking for socklen_t... yes checking for pthread_join in LIBS= with CFLAGS=-D_THREAD_SAFE -pthread... yes checking if compiler needs -Werror to reject unknown flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... (cached) yes checking if weak symbols are supported... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/local/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 196608 checking command to parse /usr/local/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd11.1 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd11.1 ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate configure: creating ./config.status mongodb was configured with the following options: Build configuration: CFLAGS : -g -O2 Extra CFLAGS : Developers flags (slow) : Code Coverage flags (extra slow) : System mongoc : no System libbson : no LDFLAGS : EXTRA_LDFLAGS : MONGODB_SHARED_LIBADD : -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -pthread -lsnappy -lz -lsasl2 -lssl -lcrypto -pthread Please submit bugreports at: https://jira.mongodb.org/browse/PHPC config.status: creating /home/conf/mongo-php-driver/src/libmongoc/src/libbson/src/bson/bson-config.h config.status: creating /home/conf/mongo-php-driver/src/libmongoc/src/libbson/src/bson/bson-version.h config.status: creating /home/conf/mongo-php-driver/src/libmongoc/src/libmongoc/src/mongoc/mongoc-config.h config.status: creating /home/conf/mongo-php-driver/src/libmongoc/src/libmongoc/src/mongoc/mongoc-version.h config.status: creating config.h