![](/img/trans.png)
[英]`sudo pecl install couchbase` gives an error of `ERROR: failed to mkdir /usr/local/Cellar/php/7.3.8/pecl/20180731`
[英]Installing couchbase sudo pecl install couchbase
如果在使用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
首先安装:
brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb
这节省了我一天
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.