如何在mac上编译libcouchbase

时间:2012-06-18 22:50:48

标签: couchbase

您好我正在尝试编译libcouchbase c库https://github.com/couchbase/libcouchbase 所以我可以用它来调用php.ini上的couchbase.so,  意味着在nginx上使用couchbase for 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

请任何帮助

1 个答案:

答案 0 :(得分:0)

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