[英]Installing couchbase sudo pecl install couchbase
If you are getting this error when installing couchbase with pecl 如果在使用pecl安装couchbase时遇到此错误
In file included from /private/tmp/pear/install/couchbase/apidecl.c:26:
/private/tmp/pear/install/couchbase/internal.h:54:10: fatal error: 'libcouchbase/couchbase.h' file not found
#include <libcouchbase/couchbase.h>
1 error generated.
make: *** [apidecl.lo] Error 1
ERROR: `make' failed
Install this first: 首先安装:
brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb
This saved me a day 这节省了我一天
As you have stated, it is imperative that you install Libcouchbase (Our C driver) first. 如您所述,必须先安装Libcouchbase(Our C驱动程序)。
This is stated as step 1 in the docs: 这在文档中表示为步骤1:
http://www.couchbase.com/develop/php/current http://www.couchbase.com/develop/php/current
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.