Advertisement
PoHSuan

Numenta Build Fail.

Jul 10th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. Pohsuans-MacBook-Pro:scripts pohsuanhuang$ CXX='usr/bin/c++' make -j3
  2. [ 0%] Performing configure step for 'Apr1StaticLib'
  3. [ 3%] Built target Swig
  4. [ 3%] Performing configure step for 'CapnProto'
  5. [ 3%] Performing configure step for 'YamlStaticLib'
  6. -- The CXX compiler identification is unknown
  7. -- Check for working CXX compiler: /Users/pohsuanhuang/miniconda/envs/nupic/bin/c++
  8. -- Check for working CXX compiler: /Users/pohsuanhuang/miniconda/envs/nupic/bin/c++ -- broken
  9. CMake Error at /opt/local/share/cmake-3.3/Modules/CMakeTestCXXCompiler.cmake:54 (message):
  10. The C++ compiler "/Users/pohsuanhuang/miniconda/envs/nupic/bin/c++" is not
  11. able to compile a simple test program.
  12.  
  13. It fails with the following output:
  14.  
  15. Change Dir: /Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/CapnProto/CMakeFiles/CMakeTmp
  16.  
  17.  
  18.  
  19. Run Build Command:"/usr/bin/make" "cmTC_31902/fast"
  20.  
  21. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
  22. CMakeFiles/cmTC_31902.dir/build.make CMakeFiles/cmTC_31902.dir/build
  23.  
  24. Building CXX object CMakeFiles/cmTC_31902.dir/testCXXCompiler.cxx.o
  25.  
  26. /Users/pohsuanhuang/miniconda/envs/nupic/bin/c++ -static-libgcc
  27. -fdiagnostics-show-option -m64 -fPIC -Wno-unused-variable
  28. -Wno-unused-parameter -Wno-incompatible-pointer-types
  29. -Wno-deprecated-declarations -stdlib=libc++ -static-libstdc++ -std=c++11
  30. -DHAVE_UNISTD_H -o CMakeFiles/cmTC_31902.dir/testCXXCompiler.cxx.o -c
  31. /Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/CapnProto/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
  32.  
  33.  
  34. c++: error: unrecognized command line option ‘-stdlib=libc++’
  35.  
  36. make[4]: *** [CMakeFiles/cmTC_31902.dir/testCXXCompiler.cxx.o] Error 1
  37.  
  38. make[3]: *** [cmTC_31902/fast] Error 2
  39.  
  40.  
  41.  
  42.  
  43.  
  44. CMake will not be able to correctly generate this project.
  45. Call Stack (most recent call first):
  46. CMakeLists.txt:1 (project)
  47.  
  48.  
  49. -- Configuring incomplete, errors occurred!
  50. See also "/Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/CapnProto/CMakeFiles/CMakeOutput.log".
  51. See also "/Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/CapnProto/CMakeFiles/CMakeError.log".
  52. make[2]: *** [ThirdParty/Stamp/CapnProto/CapnProto-configure] Error 1
  53. make[1]: *** [external/CMakeFiles/CapnProto.dir/all] Error 2
  54. make[1]: *** Waiting for unfinished jobs....
  55. -- The C compiler identification is unknown
  56. -- Check for working C compiler: /Users/pohsuanhuang/miniconda/envs/nupic/bin/cc
  57. -- Check for working C compiler: /Users/pohsuanhuang/miniconda/envs/nupic/bin/cc -- broken
  58. CMake Error at /opt/local/share/cmake-3.3/Modules/CMakeTestCCompiler.cmake:61 (message):
  59. The C compiler "/Users/pohsuanhuang/miniconda/envs/nupic/bin/cc" is not
  60. able to compile a simple test program.
  61.  
  62. It fails with the following output:
  63.  
  64. Change Dir: /Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/YamlStaticLib/CMakeFiles/CMakeTmp
  65.  
  66.  
  67.  
  68. Run Build Command:"/usr/bin/make" "cmTC_0d46d/fast"
  69.  
  70. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
  71. CMakeFiles/cmTC_0d46d.dir/build.make CMakeFiles/cmTC_0d46d.dir/build
  72.  
  73. Building C object CMakeFiles/cmTC_0d46d.dir/testCCompiler.c.o
  74.  
  75. /Users/pohsuanhuang/miniconda/envs/nupic/bin/cc -static-libgcc
  76. -fdiagnostics-show-option -m64 -fPIC -Wno-unused-variable
  77. -Wno-unused-parameter -Wno-incompatible-pointer-types
  78. -Wno-deprecated-declarations -pipe -O2 -mtune=generic -fuse-ld=gold
  79. -fuse-linker-plugin -flto-report -flto -DHAVE_UNISTD_H -o
  80. CMakeFiles/cmTC_0d46d.dir/testCCompiler.c.o -c
  81. /Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/YamlStaticLib/CMakeFiles/CMakeTmp/testCCompiler.c
  82.  
  83.  
  84. cc1: error: LTO support has not been enabled in this configuration
  85.  
  86. cc1: warning: unrecognized command line option
  87. "-Wno-incompatible-pointer-types" [enabled by default]
  88.  
  89. make[4]: *** [CMakeFiles/cmTC_0d46d.dir/testCCompiler.c.o] Error 1
  90.  
  91. make[3]: *** [cmTC_0d46d/fast] Error 2
  92.  
  93.  
  94.  
  95.  
  96.  
  97. CMake will not be able to correctly generate this project.
  98. Call Stack (most recent call first):
  99. CMakeLists.txt:4 (project)
  100.  
  101.  
  102. -- Configuring incomplete, errors occurred!
  103. See also "/Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/YamlStaticLib/CMakeFiles/CMakeOutput.log".
  104. See also "/Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/YamlStaticLib/CMakeFiles/CMakeError.log".
  105. make[2]: *** [ThirdParty/Stamp/YamlStaticLib/YamlStaticLib-configure] Error 1
  106. make[1]: *** [external/CMakeFiles/YamlStaticLib.dir/all] Error 2
  107. checking build system type... x86_64-apple-darwin15.3.0
  108. checking host system type... x86_64-apple-darwin15.3.0
  109. checking target system type... x86_64-apple-darwin15.3.0
  110. Configuring APR library
  111. Platform: x86_64-apple-darwin15.3.0
  112. checking for working mkdir -p... yes
  113. APR Version: 1.5.2
  114. checking for chosen layout... apr
  115. checking for gcc... gcc
  116. checking whether the C compiler works... no
  117. configure: error: in `/Users/pohsuanhuang/miniconda/envs/nupic/project/nupic.core/build/scripts/ThirdParty/Build/Apr1StaticLib':
  118. configure: error: C compiler cannot create executables
  119. See `config.log' for more details
  120. make[2]: *** [ThirdParty/Stamp/Apr1StaticLib/Apr1StaticLib-configure] Error 77
  121. make[1]: *** [external/CMakeFiles/Apr1StaticLib.dir/all] Error 2
  122. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement