0

您好,我正在尝试编译 libcouchbase c 库https://github.com/couchbase/libcouchbase 所以我可以使用它在 php.ini 上调用 couchbase.so,这意味着在 nginx 上使用 couchbase 进行 php 我得到以下信息编译时出错。

fatal: No names found, cannot describe anything. fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions configure.ac:22: error: AC_INIT should be called with package and version arguments /opt/local/share/aclocal-1.11/init.m4:26: AM_INIT_AUTOMAKE is expanded from... configure.ac:22: the top level autom4te: /opt/local/bin/gm4 failed with exit status: 1 aclocal: /opt/local/bin/autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1

请任何帮助

4

1 回答 1

0

我无法帮助您追踪您的编译问题,但您不必为了启动和运行而自己编译它。Couchbase 在这里正式为 OSX 提供二进制文件:http: //www.couchbase.com/develop/php/current

于 2012-07-03T08:46:59.700 回答