Control Web Panel
WebPanel => PHP Selector => Topic started by: AlexG on January 30, 2017, 03:20:15 PM
-
Hi, I'm trying to Compile PHP 7.x on the PHP Selector (NEW) and this is what I got:
buildconf: checking installation...
buildconf: autoconf version 2.63 (ok)
rebuilding aclocal.m4
rebuilding configure
configure.ac:276: error: Autoconf version 2.64 or higher is required
build/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
autom4te: /usr/bin/m4 failed with exit status: 63
rebuilding main/php_config.h.in
configure.ac:276: error: Autoconf version 2.64 or higher is required
build/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
autom4te: /usr/bin/m4 failed with exit status: 63
autoheader: '/usr/bin/autom4te' failed with exit status: 63
/usr/local/cwp/.conf/php_conf/php7.conf: line 1: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Build Completed
###################
Any Fix for this?
-
i hAve same issue
-
centos 6 or 7 ?
-
I just installed CWP yesterday. Everything's been running smoothly, but I had a similar issue with installing different versions of PHP (Centos 7). Not the same error though. But I figure I'd post something in case anyone was Googling the issue:
Mine was an error with make/make install having no target.
It was resolved by disabling some conflicting repos - namely custom php71 and mariadb10.2 repos I created for development purposes.
The CWP repo can be unforgiving if you've set priorities or enabled repos for packages they've already got.
-
I have same issue. Centos 6 + Digital Ocean. I just have problem with Php 7 and same error. If someone know answer, let know us :)
-
Also having the same issue.Using MariaDB if that helps
-
Yeah, centos 6 does this. Can we safely upgrade to newer buildconf?
-
install this libraries and try to compile php again :
yum -y install gcc make gcc-c++ cpp kernel-headers.x86_64 libxml2-devel openssl-devel bzip2-devel libjpeg-devel libpng-devel freetype-devel openldap-devel postgresql-devel aspell-devel net-snmp-devel libxslt-devel libc-client-devel libicu-devel gmp-devel curl-devel libmcrypt-devel pcre-devel sqlite-devel db4-devel enchant-devel libXpm-devel mysql-devel readline-devel libedit-devel recode-devel libtidy-devel libtool-ltdl-devel
-
Same problem here.
I even updated autoconf to 2.69, and still not working.
CentOS 6.8 x64.
-
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.
-
this worked for me
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.
-
you don't need 7.x version since this is the latest developers version, you should use only stable versions
-
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.
-
This worked for me.
yum -y install gcc make gcc-c++ cpp libxml2-devel openssl-devel bzip2-devel libjpeg-devel libpng-devel freetype-devel openldap-devel postgresql-devel aspell-devel net-snmp-devel libxslt-devel libc-client-devel libicu-devel gmp-devel curl-devel libmcrypt-devel pcre-devel sqlite-devel db4-devel enchant-devel libXpm-devel mysql-devel readline-devel libedit-devel recode-devel libtidy-devel libtool-ltdl-devel
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
-
install this libraries and try to compile php again :
yum -y install gcc make gcc-c++ cpp kernel-headers.x86_64 libxml2-devel openssl-devel bzip2-devel libjpeg-devel libpng-devel freetype-devel openldap-devel postgresql-devel aspell-devel net-snmp-devel libxslt-devel libc-client-devel libicu-devel gmp-devel curl-devel libmcrypt-devel pcre-devel sqlite-devel db4-devel enchant-devel libXpm-devel mysql-devel readline-devel libedit-devel recode-devel libtidy-devel libtool-ltdl-devel
after 5-6 hours without any log i thought about this hints and then found in the forum too!
it works!