Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos gem install gollum给我错误位/c++;在Mac OS中找不到config.h_Macos_Rubygems_Clang_Gollum Wiki - Fatal编程技术网

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