京都内阁通过rubygems安装失败

京都内阁通过rubygems安装失败,第1张

概述我试图通过ruby宝石安装京都内阁.我正在放入Gemfile gem "kyotocabinet", "~> 1.0" 而不是here 但是当我运行bundle时,它失败了 setting variables ...$CFLAGS = -I. -I/usr/local/include -Wall $(cflags) -fPIC -O2$LDFLAGS = -L. -rdynamic -Wl 我试图通过ruby宝石安装京都内阁.我正在放入Gemfile

gem "kyotocabinet","~> 1.0"

而不是here
但是当我运行bundle时,它失败了

setting variables ...$CFLAGS = -I. -I/usr/local/include -Wall $(cflags)  -fPIC -O2$LDFLAGS = -L.  -rdynamic -Wl,-export-dynamic -L. -L/usr/local/lib$libs =  -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lcchecking for kccommon.h... yescreating Makefilemakeg++ -I. -I/home/gerry/.rvm/rubIEs/ruby-1.9.2-p136/include/ruby-1.9.1/x86_64-linux -I/home/gerry/.rvm/rubIEs/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/backward -I/home/gerry/.rvm/rubIEs/ruby-1.9.2-p136/include/ruby-1.9.1 -I. -DHAVE_KCCOMMON_H    -fPIC -I. -I/usr/local/include -Wall -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-fIEld-initializers -Wno-long-long  -fPIC -O2   -o kyotocabinet.o -c kyotocabinet.cckyotocabinet.cc:29: error: ‘INT32_MAX’ was not declared in this scopekyotocabinet.cc:30: error: ‘INT32_MAX’ was not declared in this scopekyotocabinet.cc:61: warning: type qualifIErs ignored on function return typekyotocabinet.cc:320: warning: type qualifIErs ignored on function return typekyotocabinet.cc: In function ‘voID init_err()’:kyotocabinet.cc:387: error: ‘NOfile’ is not a member of ‘kyotocabinet::BasicDB::Error’kyotocabinet.cc: In function ‘VALUE db_increment(int,VALUE*,VALUE)’:kyotocabinet.cc:1009: error: ‘INT64_MIN’ was not declared in this scopekyotocabinet.cc: In function ‘VALUE db_synchronize(int,VALUE)’:kyotocabinet.cc:1094: error: cannot declare variable ‘proc’ to be of abstract type ‘SoftfileProcessor’kyotocabinet.cc:288: note:   because the following virtual functions are pure within ‘SoftfileProcessor’:/usr/local/include/kcdb.h:1070: note:   virtual boolkyotocabinet::BasicDB::fileProcessor::process(const std::string&,int64_t,int64_t)make: *** [kyotocabinet.o] Error 1

如果有人知道绕过这个错误的方法,请帮忙!我正在使用Ubuntu 10.10 FYI.

非常感谢您的帮助!

解决方法 尝试使用宝石“kyotocabinet-ruby”代替. 总结

以上是内存溢出为你收集整理的京都内阁通过rubygems安装失败全部内容,希望文章能够帮你解决京都内阁通过rubygems安装失败所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1273736.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-08
下一篇 2022-06-08

发表评论

登录后才能评论

评论列表(0条)

保存