Project

General

Profile

Bug #1539 » config1.log

config.log from ./waf configure - Junxiao Shi, 04/25/2014 11:34 AM

 
# project ndn-cxx (0.1.0) configured on Fri Apr 25 11:26:52 2014 by
# waf 1.7.15 (abi 98, python 20705f0 on darwin)
# using ./waf configure
#
----------------------------------------
Setting top to
/Users/shijunxiao/code/ndn-cxx
----------------------------------------
Setting out to
/Users/shijunxiao/code/ndn-cxx/build
----------------------------------------
Checking for 'g++' (c++ compiler)
find program=['g++', 'c++'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='CXX' -> '/usr/bin/g++'
find program=['ar'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='AR' -> '/usr/bin/ar'
/usr/bin/g++
----------------------------------------
Checking allowed flags for c++ compiler
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_e0e71eacb5b60fb5784d65248f420392/test.cpp -> build/.conf_check_e0e71eacb5b60fb5784d65248f420392/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_e0e71eacb5b60fb5784d65248f420392/testbuild/test.cpp.1.o -> build/.conf_check_e0e71eacb5b60fb5784d65248f420392/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_e0e71eacb5b60fb5784d65248f420392/testbuild/testprog']
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_cea81ee4f136122771e96590eb26682b/test.cpp -> build/.conf_check_cea81ee4f136122771e96590eb26682b/testbuild/test.cpp.1.o

['/usr/bin/g++', '-pedantic', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_cea81ee4f136122771e96590eb26682b/testbuild/test.cpp.1.o -> build/.conf_check_cea81ee4f136122771e96590eb26682b/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_cea81ee4f136122771e96590eb26682b/testbuild/testprog']
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_7315e1822a0aba000ae9bcd58f617545/test.cpp -> build/.conf_check_7315e1822a0aba000ae9bcd58f617545/testbuild/test.cpp.1.o

['/usr/bin/g++', '-Wall', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_7315e1822a0aba000ae9bcd58f617545/testbuild/test.cpp.1.o -> build/.conf_check_7315e1822a0aba000ae9bcd58f617545/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_7315e1822a0aba000ae9bcd58f617545/testbuild/testprog']
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_ff0ee7822580e4d31c7a91210385b0f1/test.cpp -> build/.conf_check_ff0ee7822580e4d31c7a91210385b0f1/testbuild/test.cpp.1.o

['/usr/bin/g++', '-Wno-long-long', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ff0ee7822580e4d31c7a91210385b0f1/testbuild/test.cpp.1.o -> build/.conf_check_ff0ee7822580e4d31c7a91210385b0f1/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_ff0ee7822580e4d31c7a91210385b0f1/testbuild/testprog']
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_9606c9024fc0362b020bf397f7b3224f/test.cpp -> build/.conf_check_9606c9024fc0362b020bf397f7b3224f/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O2', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_9606c9024fc0362b020bf397f7b3224f/testbuild/test.cpp.1.o -> build/.conf_check_9606c9024fc0362b020bf397f7b3224f/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_9606c9024fc0362b020bf397f7b3224f/testbuild/testprog']
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_4a6655f9e1d4a2082f457991481562c7/test.cpp -> build/.conf_check_4a6655f9e1d4a2082f457991481562c7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-g', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_4a6655f9e1d4a2082f457991481562c7/testbuild/test.cpp.1.o -> build/.conf_check_4a6655f9e1d4a2082f457991481562c7/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_4a6655f9e1d4a2082f457991481562c7/testbuild/testprog']
-std=c++03 -pedantic -Wall -Wno-long-long -O2 -g
----------------------------------------
Checking for program doxygen
/opt/local/bin/doxygen
find program=['doxygen'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='DOXYGEN' -> '/opt/local/bin/doxygen'
----------------------------------------
Checking for program tar
/usr/bin/tar
find program=['tar'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='TAR' -> '/usr/bin/tar'
----------------------------------------
Checking for program sphinx-build
not found
find program=['sphinx-build'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='SPHINX_BUILD' -> ''
from /Users/shijunxiao/code/ndn-cxx: Could not find the program sphinx-build
----------------------------------------
Checking for program sh
/bin/sh
find program=['sh'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='SH' -> '/bin/sh'
----------------------------------------
Checking for framework CoreFoundation
==>
#include <CoreFoundation/CoreFoundation.h>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_8a31f963f3afb080c7ab83b9493bafed/test.cpp -> build/.conf_check_8a31f963f3afb080c7ab83b9493bafed/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_8a31f963f3afb080c7ab83b9493bafed/testbuild/test.cpp.1.o -> build/.conf_check_8a31f963f3afb080c7ab83b9493bafed/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_8a31f963f3afb080c7ab83b9493bafed/testbuild/testprog', '-framework', 'CoreFoundation']
yes
----------------------------------------
Checking for framework CoreServices
==>
#include <CoreServices/CoreServices.h>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_16aad3cd0fbec6043fa311120bfb80f7/test.cpp -> build/.conf_check_16aad3cd0fbec6043fa311120bfb80f7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_16aad3cd0fbec6043fa311120bfb80f7/testbuild/test.cpp.1.o -> build/.conf_check_16aad3cd0fbec6043fa311120bfb80f7/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_16aad3cd0fbec6043fa311120bfb80f7/testbuild/testprog', '-framework', 'CoreServices']
yes
----------------------------------------
Checking for framework Security
==>

#include <CoreFoundation/CoreFoundation.h>
#include <Security/Security.h>
#include <Security/SecRandom.h>
#include <CoreServices/CoreServices.h>
#include <Security/SecDigestTransform.h>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_5a6855f098c3385380db0c46506591a5/test.cpp -> build/.conf_check_5a6855f098c3385380db0c46506591a5/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_5a6855f098c3385380db0c46506591a5/testbuild/test.cpp.1.o -> build/.conf_check_5a6855f098c3385380db0c46506591a5/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_5a6855f098c3385380db0c46506591a5/testbuild/testprog', '-framework', 'Security', '-framework', 'CoreFoundation']
yes
----------------------------------------
Checking for OpenSSL library
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_844b9acd5466c8897d48868258085f2c/test.cpp -> build/.conf_check_844b9acd5466c8897d48868258085f2c/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '-DHAVE_SECURITY=1', '-DHAVE_OSX_SECURITY=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_844b9acd5466c8897d48868258085f2c/testbuild/test.cpp.1.o -> build/.conf_check_844b9acd5466c8897d48868258085f2c/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_844b9acd5466c8897d48868258085f2c/testbuild/testprog', '-lssl', '-lcrypto']
yes
----------------------------------------
Checking for program pkg-config
/opt/local/bin/pkg-config
find program=['pkg-config'] paths=['/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/opt/local/bin'] var='PKGCONFIG' -> '/opt/local/bin/pkg-config'
----------------------------------------
Checking for 'sqlite3'
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'sqlite3']
out: -I/opt/local/include -L/opt/local/lib -lsqlite3

yes
----------------------------------------
Checking Crypto++ lib
562
----------------------------------------
Checking if CryptoPP library works
==>
#include <cryptopp/config.h>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_5fa4db2885d499ec35dcbf43bdf44ede/test.cpp -> build/.conf_check_5fa4db2885d499ec35dcbf43bdf44ede/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-I/opt/local/include', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '-DHAVE_SECURITY=1', '-DHAVE_OSX_SECURITY=1', '-DHAVE_OPENSSL=1', '-DHAVE_SQLITE3=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_5fa4db2885d499ec35dcbf43bdf44ede/testbuild/test.cpp.1.o -> build/.conf_check_5fa4db2885d499ec35dcbf43bdf44ede/testbuild/testprog

['/usr/bin/g++', '-L/opt/local/lib', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_5fa4db2885d499ec35dcbf43bdf44ede/testbuild/testprog', '-lcryptopp']
yes
----------------------------------------
Checking boost includes
1.55.0
----------------------------------------
Checking boost libs
Found the boost path in /opt/local/lib with the libraries:
/opt/local/lib/libboost_atomic-mt.a
/opt/local/lib/libboost_atomic-mt.dylib
/opt/local/lib/libboost_chrono-mt.a
/opt/local/lib/libboost_chrono-mt.dylib
/opt/local/lib/libboost_context-mt.a
/opt/local/lib/libboost_context-mt.dylib
/opt/local/lib/libboost_coroutine-mt.a
/opt/local/lib/libboost_coroutine-mt.dylib
/opt/local/lib/libboost_date_time-mt.a
/opt/local/lib/libboost_date_time-mt.dylib
/opt/local/lib/libboost_exception-mt.a
/opt/local/lib/libboost_filesystem-mt.a
/opt/local/lib/libboost_filesystem-mt.dylib
/opt/local/lib/libboost_graph-mt.a
/opt/local/lib/libboost_graph-mt.dylib
/opt/local/lib/libboost_iostreams-mt.a
/opt/local/lib/libboost_iostreams-mt.dylib
/opt/local/lib/libboost_locale-mt.a
/opt/local/lib/libboost_locale-mt.dylib
/opt/local/lib/libboost_log-mt.a
/opt/local/lib/libboost_log-mt.dylib
/opt/local/lib/libboost_log_setup-mt.a
/opt/local/lib/libboost_log_setup-mt.dylib
/opt/local/lib/libboost_math_c99-mt.a
/opt/local/lib/libboost_math_c99-mt.dylib
/opt/local/lib/libboost_math_c99f-mt.a
/opt/local/lib/libboost_math_c99f-mt.dylib
/opt/local/lib/libboost_math_c99l-mt.a
/opt/local/lib/libboost_math_c99l-mt.dylib
/opt/local/lib/libboost_math_tr1-mt.a
/opt/local/lib/libboost_math_tr1-mt.dylib
/opt/local/lib/libboost_math_tr1f-mt.a
/opt/local/lib/libboost_math_tr1f-mt.dylib
/opt/local/lib/libboost_math_tr1l-mt.a
/opt/local/lib/libboost_math_tr1l-mt.dylib
/opt/local/lib/libboost_prg_exec_monitor-mt.a
/opt/local/lib/libboost_prg_exec_monitor-mt.dylib
/opt/local/lib/libboost_program_options-mt.a
/opt/local/lib/libboost_program_options-mt.dylib
/opt/local/lib/libboost_python-mt.a
/opt/local/lib/libboost_python-mt.dylib
/opt/local/lib/libboost_random-mt.a
/opt/local/lib/libboost_random-mt.dylib
/opt/local/lib/libboost_regex-mt.a
/opt/local/lib/libboost_regex-mt.dylib
/opt/local/lib/libboost_serialization-mt.a
/opt/local/lib/libboost_serialization-mt.dylib
/opt/local/lib/libboost_signals-mt.a
/opt/local/lib/libboost_signals-mt.dylib
/opt/local/lib/libboost_system-mt.a
/opt/local/lib/libboost_system-mt.dylib
/opt/local/lib/libboost_test_exec_monitor-mt.a
/opt/local/lib/libboost_thread-mt.a
/opt/local/lib/libboost_thread-mt.dylib
/opt/local/lib/libboost_timer-mt.a
/opt/local/lib/libboost_timer-mt.dylib
/opt/local/lib/libboost_unit_test_framework-mt.a
/opt/local/lib/libboost_unit_test_framework-mt.dylib
/opt/local/lib/libboost_wave-mt.a
/opt/local/lib/libboost_wave-mt.dylib
/opt/local/lib/libboost_wserialization-mt.a
/opt/local/lib/libboost_wserialization-mt.dylib
Trying pattern boost_system(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_system(-1_55)+
Trying pattern boost_system(-1_55)+
Trying pattern boost_system(-xgcc[0-9]{0,3})+
Trying pattern boost_system
Found boost lib libboost_system-mt.a
Trying pattern boost_filesystem(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_filesystem(-1_55)+
Trying pattern boost_filesystem(-1_55)+
Trying pattern boost_filesystem(-xgcc[0-9]{0,3})+
Trying pattern boost_filesystem
Found boost lib libboost_filesystem-mt.a
Trying pattern boost_date_time(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_date_time(-1_55)+
Trying pattern boost_date_time(-1_55)+
Trying pattern boost_date_time(-xgcc[0-9]{0,3})+
Trying pattern boost_date_time
Found boost lib libboost_date_time-mt.a
Trying pattern boost_iostreams(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_iostreams(-1_55)+
Trying pattern boost_iostreams(-1_55)+
Trying pattern boost_iostreams(-xgcc[0-9]{0,3})+
Trying pattern boost_iostreams
Found boost lib libboost_iostreams-mt.a
Trying pattern boost_regex(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_regex(-1_55)+
Trying pattern boost_regex(-1_55)+
Trying pattern boost_regex(-xgcc[0-9]{0,3})+
Trying pattern boost_regex
Found boost lib libboost_regex-mt.a
Trying pattern boost_program_options(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_program_options(-1_55)+
Trying pattern boost_program_options(-1_55)+
Trying pattern boost_program_options(-xgcc[0-9]{0,3})+
Trying pattern boost_program_options
Found boost lib libboost_program_options-mt.a
Trying pattern boost_chrono(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_chrono(-1_55)+
Trying pattern boost_chrono(-1_55)+
Trying pattern boost_chrono(-xgcc[0-9]{0,3})+
Trying pattern boost_chrono
Found boost lib libboost_chrono-mt.a
ok
----------------------------------------
Checking for boost linkage
==>

#include <boost/system/error_code.hpp>
int main() { boost::system::error_code c; }

<==
[1/2] cxx: build/.conf_check_0e263e90c2449d9643fa57931cb06d6d/test.cpp -> build/.conf_check_0e263e90c2449d9643fa57931cb06d6d/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-I/opt/local/include', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '-DHAVE_SECURITY=1', '-DHAVE_OSX_SECURITY=1', '-DHAVE_OPENSSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_CRYPTOPP_CONFIG_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_0e263e90c2449d9643fa57931cb06d6d/testbuild/test.cpp.1.o -> build/.conf_check_0e263e90c2449d9643fa57931cb06d6d/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_0e263e90c2449d9643fa57931cb06d6d/testbuild/testprog', '-L/opt/local/lib', '-lboost_system-mt', '-lboost_filesystem-mt', '-lboost_date_time-mt', '-lboost_iostreams-mt', '-lboost_regex-mt', '-lboost_program_options-mt', '-lboost_chrono-mt']
ok
----------------------------------------
Checking for library pthread
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_df0c3aeabd903fe6adf118b6590ed771/test.cpp -> build/.conf_check_df0c3aeabd903fe6adf118b6590ed771/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '-DHAVE_SECURITY=1', '-DHAVE_OSX_SECURITY=1', '-DHAVE_OPENSSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_CRYPTOPP_CONFIG_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_df0c3aeabd903fe6adf118b6590ed771/testbuild/test.cpp.1.o -> build/.conf_check_df0c3aeabd903fe6adf118b6590ed771/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_df0c3aeabd903fe6adf118b6590ed771/testbuild/testprog', '-lpthread']
yes
----------------------------------------
Checking for library rt
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_0121914233e4ee6038f6e17af2a7d673/test.cpp -> build/.conf_check_0121914233e4ee6038f6e17af2a7d673/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '-DHAVE_SECURITY=1', '-DHAVE_OSX_SECURITY=1', '-DHAVE_OPENSSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_CRYPTOPP_CONFIG_H=1', '-DHAVE_PTHREAD=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_0121914233e4ee6038f6e17af2a7d673/testbuild/test.cpp.1.o -> build/.conf_check_0121914233e4ee6038f6e17af2a7d673/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_0121914233e4ee6038f6e17af2a7d673/testbuild/testprog', '-lrt']
err: ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from /Users/shijunxiao/code/ndn-cxx: Test does not build: Traceback (most recent call last):
File "/Users/shijunxiao/code/ndn-cxx/.waf-1.7.15-81b0724e6c87060fe73ce80b83ec6372/waflib/Tools/c_config.py", line 458, in run_c_code
bld.compile()
File "/Users/shijunxiao/code/ndn-cxx/.waf-1.7.15-81b0724e6c87060fe73ce80b83ec6372/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task in 'testprog' failed (exit status 1):
{task 4502541904: cxxprogram test.cpp.1.o -> testprog}
['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_0121914233e4ee6038f6e17af2a7d673/testbuild/testprog', '-lrt']

not found
from /Users/shijunxiao/code/ndn-cxx: The configuration failed
----------------------------------------
Checking for compiler flags ['-fPIC']
==>

int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}

<==
[1/2] cxx: build/.conf_check_d84bf236312a33eedfb44ece81d18431/test.cpp -> build/.conf_check_d84bf236312a33eedfb44ece81d18431/testbuild/test.cpp.1.o

['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-DHAVE_COREFOUNDATION_COREFOUNDATION_H=1', '-DHAVE_CORESERVICES_CORESERVICES_H=1', '-DHAVE_SECURITY=1', '-DHAVE_OSX_SECURITY=1', '-DHAVE_OPENSSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_CRYPTOPP_CONFIG_H=1', '-DHAVE_PTHREAD=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_d84bf236312a33eedfb44ece81d18431/testbuild/test.cpp.1.o -> build/.conf_check_d84bf236312a33eedfb44ece81d18431/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/shijunxiao/code/ndn-cxx/build/.conf_check_d84bf236312a33eedfb44ece81d18431/testbuild/testprog']
yes
(1-1/2)