Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Installing Phalcon w/ php55w-devel for PHP 5.5 vs php-devel on CentOS 6

Output from ./install:

  • configure: creating ./config.status
  • config.status: creating config.h
  • config.status: executing libtool commands
  • /bin/sh /usr/src/cphalcon/build/64bits/libtool --mode=compile gcc -I. -I/usr/src/cphalcon/build/64bits -DPHP_ATOM_INC -I/usr/src/cphalcon/build/64bits/include -I/usr/src/cphalcon/build/64bits/main -I/usr/src/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /usr/src/cphalcon/build/64bits/phalcon.c -o phalcon.lo
  • libtool: compile: gcc -I. -I/usr/src/cphalcon/build/64bits -DPHP_ATOM_INC -I/usr/src/cphalcon/build/64bits/include -I/usr/src/cphalcon/build/64bits/main -I/usr/src/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /usr/src/cphalcon/build/64bits/phalcon.c -fPIC -DPIC -o .libs/phalcon.o
  • gcc: Internal error: Killed (program cc1)
  • Please submit a full bug report.
  • See http://bugzilla.redhat.com/bugzilla for instructions.
  • make: *** [phalcon.lo] Error 1

Anyone can point me in the right direction? Google not helping much.



85.4k
Accepted
answer

It means your VPS does not have enough memory to compile Phalcon, try adding a swap partition: http://www.tldp.org/LDP/sag/html/swap-space.html

If you could enlighten me on how to you debugged this to come to this conclusion I would love to add that to my brains local storage