Compilation Erlang gproc编译失败

Compilation Erlang gproc编译失败,compilation,erlang,rebar,Compilation,Erlang,Rebar,为了从uwiger编译gproc,我似乎遇到了一些问题 我取了拉链 解压缩后,我已经完成了 $./rebar get-deps ==> gproc (get-deps) Pulling edown from {git,"git://github.com/esl/edown.git","HEAD"} Cloning into 'edown'... Pulling gen_leader from {git,"git://github.com/abecciu/gen_leader_revival

为了从uwiger编译gproc,我似乎遇到了一些问题

我取了拉链

解压缩后,我已经完成了

$./rebar get-deps
==> gproc (get-deps)
Pulling edown from {git,"git://github.com/esl/edown.git","HEAD"}
Cloning into 'edown'...
Pulling gen_leader from {git,"git://github.com/abecciu/gen_leader_revival.git",
                             "HEAD"}
Cloning into 'gen_leader'...
==> edown (get-deps)
==> gen_leader (get-ups)

$make
rebar compile
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_layout.erl
==> gen_leader (compile)
Compiled src/gen_leader.erl
==> gproc (compile)
ERROR: git describe --always --tags `git log -n 1 --pretty=format:%h .` failed with error: 128 and output:
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git

make: *** [compile] Error 1
我似乎无法摆脱这个错误,它无法正确编译。我在ebin目录中没有gproc.app

我正在使用Mac OS X Lion

有什么建议吗?

这几天我使用了与您相同的操作系统(mac OS lion)并测试了gproc

作者直到2012年5月2日才更改源代码。你什么时候得到源代码的

但是我使用“sourcetree”从git获取了sourcode,并获取了所有补丁,而不是从zip获取文件。 虽然没有什么问题,但它编译的很好

此外,“gproc\u dist\u tests.erl”的eunit测试在mac os中存在问题,您稍后会发现。

我使用了与您相同的操作系统(mac os lion)并在这些天测试了gproc

作者直到2012年5月2日才更改源代码。你什么时候得到源代码的

但是我使用“sourcetree”从git获取了sourcode,并获取了所有补丁,而不是从zip获取文件。 虽然没有什么问题,但它编译的很好


此外,“gproc\u dist\u tests.erl”的eunit测试在mac os中有问题,您稍后会发现。

嗨,陈,昨天刚拿到它。。。但这似乎真的是一个git错误。。。我有版本1.7.9.5,它似乎是最新的(最后一个版本是1.7.9.6,已经在五天前发布了),你到底做了什么来编译gproc?也许我在这里做错了什么…好吧,我得到了它,我没有从github网站下载zip,而是直接克隆了got存储库,现在它工作正常了!谢谢你带我上路。嗨,陈,昨天刚拿来。。。但这似乎真的是一个git错误。。。我有版本1.7.9.5,它似乎是最新的(最后一个版本是1.7.9.6,已经在五天前发布了),你到底做了什么来编译gproc?也许我在这里做错了什么…好吧,我得到了它,我没有从github网站下载zip,而是直接克隆了got存储库,现在它工作正常了!谢谢你带我上路。