gpt4 book ai didi

couchbase - 如何在 mac 上安装 libcouchbase-1.1.0.dp8?

转载 作者:行者123 更新时间:2023-12-04 05:25:19 25 4
gpt4 key购买 nike

我正在尝试安装 gem couchbase-1.2.0.dp6.gem。但是在安装时需要 libcouchbase-1.1.0dp8。

Building native extensions.  This could take a while...
ERROR: Error installing couchbase-1.2.0.dp6.gem:
ERROR: Failed to build gem native extension.

/Users/ms/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for libcouchbase_get_num_replicas() in -lcouchbase... no
You should install libcouchbase >= 1.1.0dp8. See http://www.couchbase.com/develop/ for more details
*** 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=/Users/mohammad.salim/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
--with-libcouchbase-dir
--without-libcouchbase-dir
--with-libcouchbase-include
--without-libcouchbase-include=${libcouchbase-dir}/include
--with-libcouchbase-lib
--without-libcouchbase-lib=${libcouchbase-dir}/lib
--with-couchbaselib
--without-couchbaselib


Gem files will remain installed in /Users/ms/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.dp6 for inspection.
Results logged to /Users/ms/.rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.0.dp6/ext/couchbase_ext/gem_make.out

我已经安装了 libcouchbase-1.1.0dp4。但是如何安装 1.1.0dp8?

最佳答案

当您使用边缘版本时,我建议您使用以下方法安装它们:

对于 libcouchbase(最近的是 2.0.0beta3)

$ brew install https://github.com/couchbase/homebrew/raw/preview/Library/Formula/libcouchbase.rb

对于 ruby​​ gem(最新版本是 1.2.0.z.beta4)
$ gem install couchbase --pre

关于couchbase - 如何在 mac 上安装 libcouchbase-1.1.0.dp8?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13264916/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com