0

错误:安装 faye 时出错:错误:无法构建 gem 原生扩展。

    /home/path/../ruby extconf.rb

checking for rb_thread_blocking_region()... no
checking for rb_str_set_len()... yes
checking for sys/select.h... yes
checking for poll.h... yes
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for port.h... no
checking for openssl/ssl.h... yes
creating Makefile

版本详情 Rails 2.3.14、ruby 1.8.7

我错过了什么?

4

1 回答 1

2

听起来您缺少本机二进制文件。看起来您正在使用 Linux,它可能是您缺少的 openssl。

你可以在你的包管理器中安装 opensslsudo apt-get install libssl-dev或等效的。

你会发现哪里出了问题的完整痕迹your_gem_path/.gems/faye/ext/gem_make.out

于 2012-02-26T22:00:59.560 回答