git repo dependency on building membase
Mon, 12/20/2010 - 10:30
Here's what I'm seeing:
make[1]: Entering directory `/root/membase-server-community_1.6.0.1_src/ns_server'
test -d ./tmp || mkdir ./tmp
<strong>git describe | sed s/-/_/g > ./tmp/version_num.tmp </strong><strong>fatal: Not a git repository (or any of the parent directories): .git </strong>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.'
Recompile: src/work_queue
src/work_queue.erl: compile directive nowarn_bif_clash is no longer allowed,
- use explicit module names or -compile({no_auto_import, [F/A]})
make[1]: *** [ebins] Error 1
make[1]: Leaving directory `/root/membase-server-community_1.6.0.1_src/ns_server'
make: *** [build_configure] Error 2
Thu, 12/23/2010 - 11:32
Erlang:
Erlang R14B (erts-5.8.1)
OS info:
Arch Linux on EC2/Xen, Kernel 2.6.31-300-ec2
But please note the error is from git -- the build appears to assume that the current directory is a working git repo.
Tue, 01/04/2011 - 10:57
Hi,
There is indeed an error from git, but that turns out to be an ignorable warning or step in the build. The git describe step is trying to get a version number encoded into the build.
The true stopper is during the erlang compile. Can you please try again with the latest & greatest 1.6.4.1 source tarball? There were some fixes after the 1.6.0.1 release that allow membase to build with Erlang R14B.
Cheers,
Steve
Hello,
Can you please provide more information:
OS version
erlang version
Thanks
Bhawana
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!