小编cra*_*sim的帖子

无法安装限制 - 本机扩展存在问题.

我正在尝试在我的Debian机器上安装curb gem,但是我很难用原生扩展来构建gem.我正在使用RVM.

只是我正在使用的一系列事项:

  • Debian的
  • 捆绑
  • RVM
  • 红宝石1.9.2-P180
  • 抑制

我被告知我必须安装以下软件包并且我已经这样做了:

sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev

Building native extensions.  This could take a while...
ERROR:  Error installing curb:
    ERROR: Failed to build gem native extension.

    /usr/local/rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
Run Code Online (Sandbox Code Playgroud)
sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev

checking for curl-config... yes checking for curlinfo_redirect_time... * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. …

Run Code Online (Sandbox Code Playgroud)

ruby debian curl curb rvm

23
推荐指数
2
解决办法
1万
查看次数

有没有办法只为send_to()创建一个没有bind()的UdpSocket?

我正在尝试相当于这件Ruby:

def color=(color)
  @color = color
  any_bar = UDPSocket.new
  any_bar.connect HOSTNAME, @port
  any_bar.send @color, 0
  any_bar.close
end
Run Code Online (Sandbox Code Playgroud)

我看不到任何其他的方式来初始化UdpSocket从锈病API文档没有bind().

rust

7
推荐指数
1
解决办法
1441
查看次数

标签 统计

curb ×1

curl ×1

debian ×1

ruby ×1

rust ×1

rvm ×1