我的目的是使用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结合起来,但仍然得到了相同的“致命错误信息”,这个问题真的让我筋疲力尽,它也浪费了我很多次。任何提示将不胜感激..
答案 0 :(得分:0)
正如我在评论中所说,我认为这不是强制性的。可能只需要将源更新到最新版本。