We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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 https://bugzilla.redhat.com/bugzilla for instructions.
  • make: *** [phalcon.lo] Error 1

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



98.9k
Accepted
answer

It means your VPS does not have enough memory to compile Phalcon, try adding a swap partition: https://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