小编Chr*_*ini的帖子

在 make 命令期间在 CentOS 6.5 上编译 PHP 5.5.9 时出错

这是错误消息:

cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
Run Code Online (Sandbox Code Playgroud)

make 处理的最后一件事是 apprentice.lo,它似乎是图像处理库的一部分(也许?)。我正在使用 Ansible 来配置我的实例。它是一个 Digital Ocean 单核 512MB 虚拟机。

我一直在使用 vagrant / ansible 在本地为 dev 使用相同的配置,并且编译良好,这是我尝试配置的第一个云 VM。唯一的区别是我的 DO 服务器的基本映像来自 DO,对于我的本地开发人员,我通过 VirtualBox 从一个库存的 CentOS 基本服务器安装构建了我自己的 Vagrant 框。我把它从我的 DropBox 中拉下来。

该问题已被其他人遇到并报告为php错误报告

我的 php ansible 角色直到错误:

---
- name: Download php source
  get_url: url={{ php_source_url }} dest=/tmp
  register: get_url_result

- name: untar the …
Run Code Online (Sandbox Code Playgroud)

make php5 centos6 ansible

2
推荐指数
1
解决办法
3259
查看次数

标签 统计

ansible ×1

centos6 ×1

make ×1

php5 ×1