'fatal: Not a git repository' is prompted when execute make command in Geocouch folder on Ubuntu

StackOverflow https://stackoverflow.com/questions/15037121

  •  11-03-2022
  •  | 
  •  

Question

My purpose is to extend couchDB with geocouch, then i download COUchDB src from http://couchdb.apache.org/,and geocouch from github couchdb 1.2.x. the src are both in my Download path,according to the instruction in Readme file.I do in below steps:

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

after i enter make command, it pop up below error message:

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

Btw, i had tried to combine apache-couchdb-1.1.1 with geocouch-couchdb1.1.x as well, but still got the same 'fatal error message', this issue really exhaust me, it have waste me too many time. any tip will be appreciated..

Was it helpful?

Solution

As I said in the comments, I suppose it's not mandatory. It is probably only needed to update the sources to the last revision.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top