无法捆绑/安装Kgio Error [英] Can't bundle/install Kgio Error

查看:106
本文介绍了无法捆绑/安装Kgio Error的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法在我的应用程序中安装kgio,每次我进行捆绑安装。我得到这个错误!谁能帮我?我已经尝试重新捆绑5次了。

  C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb 
及时检查CLOCK_MONOTONIC .h ... no
在time.h中检查CLOCK_MONOTONIC()... no
在time.h中检查clockid_t ... no
检查clock_gettime()in -lrt ... no
检查t_open()in -lnsl ... no
检查socket()in -lsocket ... no
检查poll.h中的poll()。 .. no
在sys / types.h,sys / socket.h,netdb.h中检查getaddrinfo()... no
getaddrinfo必需
*** 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 = C:/RailsInstaller/Ruby1.9.3/bin/ruby
--with-rtlib
--without-rtlib
- -with-nsllib
--without-nsllib
--with-socketlib
--without-socketlib


解决方案

实际上,答案是您无法在窗口中使用kgio。在发现这一点之前,我花了3个小时汗流the other地回答其他答案。根据开发者的看法,Kgio需要一个类似unix的环境。

I can't seem to install kgio with my app, every time I do bundle install. I get this error ! Can anyone help me? I have tried re bundling like 5 times already.

C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
    checking for CLOCK_MONOTONIC in time.h... no
    checking for CLOCK_MONOTONIC() in time.h... no
    checking for clockid_t in time.h... no
    checking for clock_gettime() in -lrt... no
    checking for t_open() in -lnsl... no
    checking for socket() in -lsocket... no
    checking for poll() in poll.h... no
    checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
    getaddrinfo required
    *** 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.

    Provided configuration options:
        --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=C:/RailsInstaller/Ruby1.9.3/bin/ruby
        --with-rtlib
        --without-rtlib
        --with-nsllib
        --without-nsllib
        --with-socketlib
        --without-socketlib

解决方案

Actually, the answer is that you can't use kgio with windows. I spent 3 hours sweating through the other answer here before finding that out. Kgio needs a unix-like environment according to it's developer.

这篇关于无法捆绑/安装Kgio Error的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆