由于ruby rake错误,无法构建apache thrift
发布时间:2020-12-16 21:16:23 所属栏目:百科 来源:网络整理
导读:我正在尝试从源代码tarball(https://dist.apache.org/repos/dist/release/thrift/0.9.0/thrift-0.9.0.tar.gz)构建thrift,但它失败并出现此错误: Making all in rbmake[3]: Entering directory `/home/akonsu/a/thrift-0.9.0/lib/rb'/usr/local/bin/rake rak
我正在尝试从源代码tarball(https://dist.apache.org/repos/dist/release/thrift/0.9.0/thrift-0.9.0.tar.gz)构建thrift,但它失败并出现此错误:
Making all in rb make[3]: Entering directory `/home/akonsu/a/thrift-0.9.0/lib/rb' /usr/local/bin/rake rake aborted! cannot load such file -- rspec/core/rake_task 我将不胜感激任何帮助. 解决方法
如果你首先对Ruby不感兴趣,那么配置Thrift就可以了.
$./configure --without-ruby 正如其他一些消息来源所暗示的那样,那就是–with-ruby,而不是–without-rb. 然后运行make和sudo make install. 这显然是一个已知的错误. (我在Mac OS X 10.7.5,BTW上.我不知道任何其他版本/平台…) (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |