0

我无法将 geoCouch 包含在运行 couchDB (1.6.1) 中。

我按照说明进行操作:https ://github.com/couchbase/geocouch/#for-apache-couchdb

在 GeoCouch 目录 ( $HOME/geocouch) 中,我尝试编译:

COUCH_SRC=$HOME/apache-couchdb-1.6.1/src/couchdb make couchdb

并得到消息:

/rebar -C rebar_couchdb.config compile
==> vtree (compile)
Compiling /home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl failed:

/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:16: can't find include file "couch_db.hrl"
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:41: undefined macro 'LOG_DEBUG/2'
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:18: function cleanup/2 undefined
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:26: spec for undefined function vtree_cleanup:cleanup/2
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:47: function cleanup_multiple/3 is unused
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:54: function cleanup_nodes/2 is unused
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:62: function member_of_nodes/2 is unused
/home/ec2-user/geocouch/vtree/src/vtree_cleanup.erl:75: function partition_nodes/3 is unused

“couch_db.hrl”位于 /home/ec2-user/apache-couchdb-1.6.1/src/couchdb

有谁知道如何解决这个问题?帮助/想法?

4

0 回答 0