2012-09-04 50 views
1

我試着安裝在CentOS 6.3 x64的廚師獨奏當我運行:廚師獨奏安裝 - gecode編譯錯誤

sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz 

我得到這樣的輸出:

g++ -I. -ffast-math -fno-strict-aliasing -O3 -fvisibility=hidden -ggdb -pipe -Wall -Wextra -fPIC -pthread -DNDEBUG \ 
    -c -o gecode/int/extensional.o gecode/int/extensional.cpp 
make[1]: Leaving directory `/tmp/chef-solo/gecode-3.5.0' 
STDERR: {standard input}: Assembler messages: 
{standard input}:13822: Warning: end of file not at end of a line; newline inserted 
{standard input}:14946: Error: unknown pseudo-op: `.' 
{standard input}:14946: Error: open CFI at the end of file; missing .cfi_endproc directive 
g++: Internal error: Killed (program cc1plus) 
Please submit a full bug report. 
See <http://bugzilla.redhat.com/bugzilla> for instructions. 
make[1]: *** [gecode/int/extensional.o] Error 1 
make: *** [compilelib] Error 2 
---- End output of "bash" "/tmp/chef-script20120904-19809-1ofhwoq" ---- 
Ran "bash" "/tmp/chef-script20120904-19809-1ofhwoq" returned 2 

我可以從RBEL6回購安裝gecode沒有任何問題,但食譜嘗試從源代碼安裝。我在github上發現了this的pull請求,它試圖從RBEL倉庫安裝,但是我收到一個錯誤消息,說無法找到倉庫元數據。任何人都知道該怎麼辦?

回答

4

由於我一直在尋找這個答案,我的發現相當......並不令人驚訝。

我只是用完了內存。我必須在另一個具有相同操作系統的系統上編譯我的文件(通過/tmp/chef-solo/gecode-3.5.0複製到文件夾中,然後運行make),並將生成的文件夾同步回來運行make install

一旦找到庫,編譯步驟將被跳過,您應該繼續下一步。

+0

因爲這對我來說是谷歌搜索結果的問題,我想通過備份你的聲明來幫助你:https://github.com/opscode/dep-selector-libgecode/issues/15 –