Project

General

Profile

Actions

Bug #1539

closed

Build fails on OSX 10.9 with "--debug"

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

./waf configure succeeds, but ./waf configure --debug fails.

config.log of failing build complains argument unused during compilation: '-fdiagnostics-color'.

monaco:ndn-cxx shijunxiao$ ./waf distclean
'distclean' finished successfully (0.005s)
monaco:ndn-cxx shijunxiao$ ./waf configure
Setting top to                           : /Users/shijunxiao/code/ndn-cxx 
Setting out to                           : /Users/shijunxiao/code/ndn-cxx/build 
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
Checking allowed flags for c++ compiler  : -std=c++03 -pedantic -Wall -Wno-long-long -O2 -g 
Checking for program doxygen             : /opt/local/bin/doxygen 
Checking for program tar                 : /usr/bin/tar 
Checking for program sphinx-build        : not found 
Checking for program sh                  : /bin/sh 
Checking for framework CoreFoundation    : yes 
Checking for framework CoreServices      : yes 
Checking for framework Security          : yes 
Checking for OpenSSL library             : yes 
Checking for program pkg-config          : /opt/local/bin/pkg-config 
Checking for 'sqlite3'                   : yes 
Checking Crypto++ lib                    : 562 
Checking if CryptoPP library works       : yes 
Checking boost includes                  : 1.55.0 
Checking boost libs                      : ok 
Checking for boost linkage               : ok 
Checking for library pthread             : yes 
Checking for library rt                  : not found 
Checking for compiler flags ['-fPIC']    : yes 
'configure' finished successfully (1.978s)
monaco:ndn-cxx shijunxiao$ cp build/config.log ../config1.log
monaco:ndn-cxx shijunxiao$ ./waf distclean
'distclean' finished successfully (0.021s)
monaco:ndn-cxx shijunxiao$ ./waf configure --debug
Setting top to                           : /Users/shijunxiao/code/ndn-cxx 
Setting out to                           : /Users/shijunxiao/code/ndn-cxx/build 
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
Checking allowed flags for c++ compiler  : -std=c++03 -pedantic -Wall -Wno-long-long -O0 -g3 -fcolor-diagnostics -fdiagnostics-color -Werror 
Checking for program doxygen             : /opt/local/bin/doxygen 
Checking for program tar                 : /usr/bin/tar 
Checking for program sphinx-build        : not found 
Checking for program sh                  : /bin/sh 
Checking for framework CoreFoundation    : not found 
Compiling on OSX, but CoreFoundation, CoreServices, or Security framework is not functional.
The frameworks are known to work only with Apple-specific compilers: llvm-gcc-4.2 or clang
Checking for OpenSSL library             : not found 
The configuration failed
(complete log in /Users/shijunxiao/code/ndn-cxx/build/config.log)
monaco:ndn-cxx shijunxiao$ cp build/config.log ../config2.log
monaco:ndn-cxx shijunxiao$ /usr/bin/g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Files

config1.log (20.1 KB) config1.log config.log from ./waf configure Junxiao Shi, 04/25/2014 11:34 AM
config2.log (11.4 KB) config2.log config.log from ./waf configure --debug Junxiao Shi, 04/25/2014 11:34 AM
Actions

Also available in: Atom PDF