Problems stuck in gcc compilation during installation in ubuntu 18.04 and php 7.2

As mentioned in the title, I was installing under the following installation environment.

  • ubuntu 18.04
  • php 7.2
  • ram 512mb

[email protected]:/home/cphalcon/build$ sudo ./install

Configuring for:

PHP Api Version: 20170718

Zend Module Api No: 20170718

Zend Extension Api No: 320170718

configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.

libtool: compile: gcc -I. -I/home/cphalcon/build/php7/64bits -DPHP_ATOM_INC -I/home/cphalcon/build/php7/64bits/include -I/home/cphalcon/build/php7/64bits/main -I/home/cphalcon/build/php7/64bits -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -mtune=native -O2 -fomit-frame-pointer -c /home/cphalcon/build/php7/64bits/phalcon.zep.c -fPIC -DPIC -o .libs/phalcon.o

I will stop here. And it does not go over. Why?

afaik re2c is mandatory, even though it only gives you a warning

sudo apt install re2c