fastthread-1.0.7 和 Sup 的 Ruby 安装

发布于 2024-11-15 00:24:00 字数 2956 浏览 2 评论 0原文

当尝试通过 MacPorts 安装 Sup 时,我得到:-

>--->  Computing dependencies for sup
>--->  Dependencies to be installed: rb-fastthread rb-ferret rb-gettext rb-locale rb-highline rb-lockfile >rb-mime-types rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop
>--->  Verifying checksum(s) for rb-fastthread
>Error: Checksum (md5) mismatch for fastthread-1.0.7.gem
>Error: Checksum (sha1) mismatch for fastthread-1.0.7.gem
>Error: Checksum (rmd160) mismatch for fastthread-1.0.7.gem
>***
>The non-matching file appears to be HTML. See this page for possible reasons
>for the checksum mismatch:
><http://trac.macports.org/wiki/MisbehavingServers>
>***
>Error: Target org.macports.checksum returned: Unable to verify file checksums
>Error: Failed to install rb-fastthread
>Log for rb-fastthread is at: >/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb->fastthread/main.log
>Error: The following dependencies were not installed: rb-fastthread rb-ferret rb-gettext rb-locale rb->highline rb-lockfile rb-mime-types rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop
>Error: Status 1 encountered during processing.
>To report a bug, see <http://guide.macports.org/#project.tickets>

该错误似乎表明我的 DNS 服务器没有正确重定向,但我使用的是 Goolge 的 8.8.8.8 和 8.8.4.4 服务器,所以这不应该是问题。

OSX 10.6 和 ruby​​ 1.9.2p180(2011-02-18 修订版 30909)[x86_64-darwin10]。

任何建议将不胜感激。

谢谢。

尝试 sudo gem install sep 得到以下结果:-

>sudo gem install sup
>Building native extensions.  This could take a while...
>ERROR:  Error installing sup:
>        ERROR: Failed to build gem native extension.

>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
>checking for unistd.h... yes
>checking for locale.h... yes
>checking for ncurses.h... yes
>checking for wmove() in -lncursesw... no
>checking for wmove() in -lpdcurses... no
>*** 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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
>        --with-ncurseswlib
>        --without-ncurseswlib
>        --with-pdcurseslib
>        --without-pdcurseslib
>extconf.rb:46: ncurses library not found (RuntimeError)

我之前通过 sudo port install ncurses +universial 安装了 ncurses

When trying to install Sup via MacPorts I get :-

>--->  Computing dependencies for sup
>--->  Dependencies to be installed: rb-fastthread rb-ferret rb-gettext rb-locale rb-highline rb-lockfile >rb-mime-types rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop
>--->  Verifying checksum(s) for rb-fastthread
>Error: Checksum (md5) mismatch for fastthread-1.0.7.gem
>Error: Checksum (sha1) mismatch for fastthread-1.0.7.gem
>Error: Checksum (rmd160) mismatch for fastthread-1.0.7.gem
>***
>The non-matching file appears to be HTML. See this page for possible reasons
>for the checksum mismatch:
><http://trac.macports.org/wiki/MisbehavingServers>
>***
>Error: Target org.macports.checksum returned: Unable to verify file checksums
>Error: Failed to install rb-fastthread
>Log for rb-fastthread is at: >/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb->fastthread/main.log
>Error: The following dependencies were not installed: rb-fastthread rb-ferret rb-gettext rb-locale rb->highline rb-lockfile rb-mime-types rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop
>Error: Status 1 encountered during processing.
>To report a bug, see <http://guide.macports.org/#project.tickets>

The error seems to indicate that the my DNS servers are not re-directing properly, but I am using Goolge's 8.8.8.8 and 8.8.4.4 servers, so this shouldn't be an issue.

OSX 10.6 and ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10].

Any suggestions would be appreciated.

Thanks.

Tried sudo gem install sup with these results :-

>sudo gem install sup
>Building native extensions.  This could take a while...
>ERROR:  Error installing sup:
>        ERROR: Failed to build gem native extension.

>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
>checking for unistd.h... yes
>checking for locale.h... yes
>checking for ncurses.h... yes
>checking for wmove() in -lncursesw... no
>checking for wmove() in -lpdcurses... no
>*** 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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
>        --with-ncurseswlib
>        --without-ncurseswlib
>        --with-pdcurseslib
>        --without-pdcurseslib
>extconf.rb:46: ncurses library not found (RuntimeError)

I had previously installed ncurses via sudo port install ncurses +universial

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

坠似风落 2024-11-22 00:24:00

显然 Mac OSX 已经安装了 ncurses,所以这可能只是 $PATH 问题? locate ncurses 是否显示任何有用的信息?如果我在这里运行它,我在 /Developer (iPhone .dylibs) 中有一些东西,ports 文件,在 /usr/include 和 /usr/lib 中有一些东西,包括:

/usr/bin/ncurses5.4-config
/usr/include/ncurses.h
/usr/include/ncurses_dll.h
/usr/lib/libncurses.5.4.dylib
/usr/lib/libncurses.5.dylib
/usr/lib/libncurses.dylib

你总是可以尝试手动定位 ncurses lib,然后更改gem install support 的配置选项

Apparently Mac OSX comes with ncurses installed already, so it could just be a $PATH issue? Does locate ncurses show anything helpful? If I run it here I have some stuff in /Developer (iPhone .dylibs), the ports files, and some stuff in /usr/include and /usr/lib, including:

/usr/bin/ncurses5.4-config
/usr/include/ncurses.h
/usr/include/ncurses_dll.h
/usr/lib/libncurses.5.4.dylib
/usr/lib/libncurses.5.dylib
/usr/lib/libncurses.dylib

You could always try locating the ncurses lib manually and then changing the configuration options for gem install sup

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文