将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
有谁知道如何解决这个问题?帮助/想法?