2012-04-06 191 views
1

我似乎有一些问题,以便从uwiger编译gproc。Erlang gproc编译失败

我已经解压缩后获取的ZIP here

,我已经做了

$./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 

我不能似乎摇出这个错误,它不会正确编译我没有gproc.app在ebin目录。

我正在使用Mac OS X Lion。

有什么建议吗?

回答

1

我已经使用了和你一样的操作系统(mac os lion),并且在这几天测试了gproc。

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

但我使用“sourcetree”从git获取了源代码,并获取所有补丁,但没有从zip获取文件。 它编译好,虽然没有什么问题。

此外,“gproc_dist_tests.erl”的eunit测试在mac os中有问题,您会在稍后找到它。

+0

Hi Chen,昨天刚刚提取它...但它确实似乎是一个混帐错误...我有版本1.7.9.5这似乎是最新的(最新版本是1.7.9.6,已发布5天前) – TheSquad 2012-04-07 08:49:18

+0

你究竟做了什么编译gproc?也许我在这里做错了什么...... – TheSquad 2012-04-07 08:51:51

+0

好吧我已经得到它,而不是从github网站下载zip,我已经直接克隆了获取的存储库,现在它工作正常!谢谢你让我走。 – TheSquad 2012-04-07 09:03:32