Mac OS 10.9致命错误:找不到'tr1/unordered_map'文件

AMi*_*sra 6 macos command-line-tool

我使用xcode-select --install安装了命令行工具.
如果我执行cd/Library/Developer/CommandLineTools/usr/bin,我可以在那里看到gcc.

我试图在命令行上安装一个外部应用程序,它会产生这些错误

/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_set:205:5: warning: 
      Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>
      [-W#warnings]
#   warning Use of the header <ext/hash_set> is deprecated.  Migrate to ...
    ^
In file included from src/stl_logging_unittest.cc:34:
In file included from ./src/glog/stl_logging.h:76:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_map:212:5: warning: 
      Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
      [-W#warnings]
#   warning Use of the header <ext/hash_map> is deprecated.  Migrate to ...
    ^
In file included from src/stl_logging_unittest.cc:34:
./src/glog/stl_logging.h:77:11: fatal error: 'ext/slist' file not found
# include <ext/slist>
          ^
2 warnings and 1 error generated.
make: *** [stl_logging_unittest-stl_logging_unittest.o] Error 1
Done.
Run Code Online (Sandbox Code Playgroud)