如果在使用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
答案 0 :(得分:2)
首先安装:
brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb
这节省了我一天
答案 1 :(得分:2)