我试图在CentOS 6.3 x64上安装chef solo,当我运行时:
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 repo安装gecode,没有任何问题,但食谱试图从源代码安装。我在github上发现了这个pull请求,它试图从RBEL repo安装,但我收到了一个错误,说找不到存储库元数据。有人知道该怎么办吗?
由于我一直在寻找这个问题的答案,我的发现相当。。。不足为奇。
我只是没记性了。我不得不在另一个具有相同操作系统的系统上编译我的文件(通过/tmp/chef solo/gecode-3.5.0复制到盒子中,然后运行make),并将生成的文件夹同步回运行make-install
一旦找到库,就跳过编译步骤,您应该可以继续。