Dont wok for me in PHP 7.3, PHP 7.2 UPDATE, PHP 7.1 and PHP 7.0.
PHP 5.3, PHP 5.4, complile and install and works fine.
LOG
.....
checking whether to enable JIS-mapped Japanese font support in GD... yes
If configure fails try --with-webp-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for fabsf... yes
checking for floorf... yes
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... yes
configure: error: Unable to locate gmp.h
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Redirecting to /bin/systemctl restart httpd.service
Hello,
i have found the solution.
You need to download and install manually new version of m4 autom4te and autoconf.
You can do so by doing:
cd /usr/local/src
wget https://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.69.tar.gz
tar zxvf autoconf-2.69.tar.gz
cd autoconf-2.69*
./configure
make && make install
mv /usr/bin/autoconf /usr/bin/autoconf.bak
cp /usr/local/bin/autoconf /usr/bin/autoconf
same thing with autom4te and m4 (extract, configure, make, make install and than copy it from /usr/local/bin/xxx to /usr/bin/xxx
download links are:
https://ftp.gnu.org/pub/gnu/automake/automake-1.15.tar.gz
https://ftp.gnu.org/pub/gnu/m4/m4-1.4.18.tar.gz
After this i was able to compile php7.