繁体   English   中英

Chef-solo安装 - gecode编译错误

[英]Chef-solo install - gecode compile error

我试图在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而没有任何问题,但是cookbook尝试从源代码安装。 我在github上发现了这个 pull请求,它尝试从RBEL repo安装,但是我收到一个错误,说找不到存储库元数据。 谁知道该怎么办?

由于我一直在寻找答案,我的发现相当......不足为奇。

我只是内存不足。 我必须在具有相同操作系统的另一个系统上编译我的文件(通过/tmp/chef-solo/gecode-3.5.0复制到框中并运行make)并同步生成的文件夹以运行make install

找到库后,将跳过编译步骤,您应该继续。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM