首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装ffi宝石时出错

安装ffi宝石时出错
EN

Stack Overflow用户
提问于 2013-10-30 09:00:55
回答 1查看 654关注 0票数 3
代码语言:javascript
复制
$ jruby -S bundle update
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from http://controller.c3.mtv:8008/....
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from http://controller.c3.mtv:8008/..
Resolving dependencies...
Using rake (10.1.0)
Using ansi (1.4.3)
Using builder (3.2.2)
Installing ffi (1.9.2)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
.

        c:/jruby-1.7.4/bin/jruby.exe extconf.rb

make
'make' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in c:/jruby-1.7.4/lib/ruby/gems/shared/gems/ffi-
1.9.2 for inspection.
Results logged to c:/jruby-1.7.4/lib/ruby/gems/shared/gems/ffi-1.9.2/ext/ffi_c/g
em_make.out
An error occurred while installing ffi (1.9.2), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.2'` succeeds before bundling.

这是我执行包更新时的错误,所以我按照最后一行中的建议执行了以下操作

代码语言:javascript
复制
    $ gem install ffi -v '1.9.2'
    Building native extensions.  This could take a while...
    ERROR:  Error installing ffi:
            ERROR: Failed to build gem native extension.

            c:/jruby-1.7.4/bin/jruby.exe extconf.rb

    make
    'make' is not recognized as an internal or external command,
    operable program or batch file.

Gem files will remain installed in c:/jruby-1.7.4/lib/ruby/gems/shared/gems/ffi-
1.9.2 for inspection.
Results logged to c:/jruby-1.7.4/lib/ruby/gems/shared/gems/ffi-1.9.2/ext/ffi_c/g
em_make.out

然后我尝试了以下几种方法

代码语言:javascript
复制
$ gem install ffi
Building native extensions.  This could take a while...
ERROR:  Error installing ffi:
        ERROR: Failed to build gem native extension.

        c:/jruby-1.7.4/bin/jruby.exe extconf.rb

make
'make' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in c:/jruby-1.7.4/lib/ruby/gems/shared/gems/ffi-
1.9.2 for inspection.
Results logged to c:/jruby-1.7.4/lib/ruby/gems/shared/gems/ffi-1.9.2/ext/ffi_c/g
em_make.out
EN

回答 1

Stack Overflow用户

发布于 2013-10-30 09:07:25

“‘make”不被识别为内部或外部命令、可操作的程序或批处理文件。

您的系统上安装了message..do吗?为了避免在unix工具上出现依赖问题,我会检查西格温

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19677827

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档