[英]`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.