0

我的目的是用 geocouch 扩展 couchDB,然后我从http://couchdb.apache.org/下载 COUchDB src ,从 github couchdb 1.2.x下载 geocouch 。src 都在我的下载路径中,根据自述文件中的说明。我按以下步骤操作:

ryu@ryu-Asp:~/Downloads$ cd geocouch-couchdb1.2.x/
export COUCH_SRC=/home/ryu/Downloads/apache-couchdb-1.2.1/src/couchdb/
make

在我输入 make 命令后,它会弹出以下错误消息:

ryu@ryu-Asp:~/Downloads/geocouch-couchdb1.2.x$ make
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
ERL_COMPILER_OPTIONS='[{i,"/home/ryu/Downloads/apache-couchdb-1.2.1/src/couchdb/"}]' ./rebar compile
==> geocouch-couchdb1.2.x (compile)
Compiled src/geocouch/couch_spatial_compactor.erl
Compiled src/geocouch/geocouch_duplicates.erl
Compiled src/geocouch/couch_httpd_spatial.erl
Compiled src/geocouch/couch_httpd_spatial_list.erl
Compiled src/geocouch/couch_spatial.erl
Compiled src/vtree/run_vtreestats.erl
Compiled src/vtree/vtreeviz.erl
Compiled src/geocouch/couch_spatial_updater.erl
Compiled src/vtree/vtreestats.erl
Compiled src/vtree/run_vtreeviz.erl
Compiled src/geocouch/couch_spatial_group.erl
Compiled src/vtree/vtree_insbench.erl
Compiled test/gc_test_util.erl
Compiled src/vtree/vtree.erl
Compiled src/vtree/vtree_bulk.erl
Compiled src/vtree/vtree_bulk.erl

顺便说一句,我曾尝试将 apache-couchdb-1.1.1 与 geocouch-couchdb1.1.x 结合使用,但仍然收到相同的“致命错误消息”,这个问题真的让我筋疲力尽,它浪费了我太多时间。任何提示将不胜感激..

4

1 回答 1

0

正如我在评论中所说,我认为这不是强制性的。可能只需要将源更新到最新版本。

于 2013-02-23T15:31:03.323 回答