git describe error while compiling 1.6.5
Hi all,
I get the following error during compilation of 1.6.5 package.
Looks like error is coming because of the git describe command which returns 'not a git repository' error.
Is there any work-around for this ?
make[1]: Entering directory `/opt/vts/membase-server-community_1.6.5_src/ns_server'
test -d ./tmp || mkdir ./tmp
git describe | sed s/-/_/g > ./tmp/version_num.tmp
fatal: Not a git repository (or any of the parent directories): .git
test -d ebin || mkdir ebin
sed s/0.0.0/`cat ./tmp/version_num.tmp`/g src/ns_server.app.src > ebin/ns_server.app
test -d ebin || mkdir ebin
erl -noinput +B -pa ./ebin ./deps/*/ebin ./deps/*/deps/*/ebin -eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'
{"init terminating in do_boot",{undef,[{make,all,[]},{erl_eval,do_apply,5},{erl_eval,expr,5},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
make[1]: *** [ebins] Error 1
make[1]: Leaving directory `/opt/vts/membase-server-community_1.6.5_src/ns_server'
regards
Abverb
This error was coming because I was using older erlang version (R13B03)
The above problem was resolved after using the later erlang version (R14B01)
regards
Abverb