Macos gem install gollum给我错误位/c++;在Mac OS中找不到config.h
当我跑的时候Macos gem install gollum给我错误位/c++;在Mac OS中找不到config.h,macos,rubygems,clang,gollum-wiki,Macos,Rubygems,Clang,Gollum Wiki,当我跑的时候 sudo gem install gollum 或 我得到以下错误: compiling transliterator.cpp In file included from transliterator.cpp:4:0: /usr/local/include/c++/5.1.0/string:38:28: fatal error: bits/c++config.h: No such file or directory compilation terminated. 也许我需要设置
sudo gem install gollum
或
我得到以下错误:
compiling transliterator.cpp
In file included from transliterator.cpp:4:0:
/usr/local/include/c++/5.1.0/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
也许我需要设置一些标志,以便编译器可以找到这些库?
Mac OS Sierra版本10.12,
这里是gcc版本(已安装Xcode):
提前谢谢 欢迎来到SO。你的帖子需要稍微整理一下,我会尽力帮你整理一下,这样你就能得到高质量的回复。主要是让代码块使用块语法,更好地组织问题。我将发布一个编辑。非常感谢!欢迎来到SO。你的帖子需要稍微整理一下,我会尽力帮你整理一下,这样你就能得到高质量的回复。主要是让代码块使用块语法,更好地组织问题。我将发布一个编辑。非常感谢!
compiling transliterator.cpp
In file included from transliterator.cpp:4:0:
/usr/local/include/c++/5.1.0/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.38)
Target: x86_64-apple-darwin16.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin