2012-04-06 195 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