我正在阅读 C 代码:- https://github.com/joyent/http-parser 。但我不知道 HTTP Parser 的含义是什么。您能否通过示例解释其含义,以便我可以为该项目做出贡献。
我正在尝试通过Mac终端安装Github Linguist ruby gem.
我没有足够的积分来上传图片所以请耐心等待.
这是我在终端中安装它时显示的错误: -
bash-3.2# gem install github-linguist
构建原生扩展.这可能需要一段时间......
错误:安装github-linguist时出错:
错误:无法构建gem原生扩展.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20150321-444-15aw05d.rb extconf.rb
Run Code Online (Sandbox Code Playgroud)
检查gmake ...没有检查make ...是检查cmake ...没有错误:需要CMake来构建Rugged. *extconf.rb失败* 由于某些原因无法创建Makefile,可能缺少必要的库和/或标头.检查mkmf.log文件以获取更多详细信息.您可能需要配置选项.
提供的配置选项:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
--use-system-libraries
Run Code Online (Sandbox Code Playgroud)
extconf失败,退出代码1
Gem文件将保留在/Library/Ruby/Gems/2.0.0/gems/rugged-0.22.1b1中进行检查.结果记录到/Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14/2.0.0/rugged-0.22.1b1/gem_make.out
c ×1
gem ×1
github ×1
http ×1
installation ×1
macos ×1
open-source ×1
package ×1
parsing ×1
ruby ×1