Author Topic: Upgrade buildconf 2.63  (Read 28129 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Upgrade buildconf 2.63
« 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?

Offline
*
Re: Upgrade buildconf 2.63
« Reply #1 on: February 05, 2017, 04:48:17 PM »
i hAve same issue

Offline
*
Re: Upgrade buildconf 2.63
« Reply #2 on: February 05, 2017, 11:44:35 PM »
centos 6 or 7 ?
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Upgrade buildconf 2.63
« Reply #3 on: February 07, 2017, 02:57:34 AM »
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.

Offline
*
Re: Upgrade buildconf 2.63
« Reply #4 on: February 16, 2017, 04:36:33 AM »
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 :)

Offline
*
Re: Upgrade buildconf 2.63
« Reply #5 on: February 16, 2017, 11:14:30 PM »
Also having the same issue.Using MariaDB if that helps

Offline
*
Re: Upgrade buildconf 2.63
« Reply #6 on: February 26, 2017, 08:01:40 AM »
Yeah, centos 6 does this. Can we safely upgrade to newer buildconf?

Offline
*****
Re: Upgrade buildconf 2.63
« Reply #7 on: February 26, 2017, 08:40:40 AM »
install this libraries and try to compile php again :
Code: [Select]
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

Offline
*
Re: Upgrade buildconf 2.63
« Reply #8 on: February 28, 2017, 04:32:24 PM »
Same problem here.
I even updated autoconf to 2.69, and still not working.
CentOS 6.8 x64.


Offline
*
Re: Upgrade buildconf 2.63
« Reply #9 on: March 02, 2017, 01:57:34 PM »
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.

Offline
*
Re: Upgrade buildconf 2.63
« Reply #10 on: April 21, 2017, 03:20:21 PM »
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.

Offline
*
Re: Upgrade buildconf 2.63
« Reply #11 on: April 23, 2017, 07:56:19 AM »
you don't need 7.x version since this is the latest developers version, you should use only stable versions
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Upgrade buildconf 2.63
« Reply #12 on: June 05, 2019, 10:58:38 AM »
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.
« Last Edit: June 05, 2019, 11:06:20 AM by tiagondelgado »

Offline
*
Re: Upgrade buildconf 2.63
« Reply #13 on: June 08, 2019, 11:00:09 AM »
This worked for me.
Code: [Select]
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

Offline
*
Re: Upgrade buildconf 2.63
« Reply #14 on: May 23, 2020, 07:43:03 PM »
install this libraries and try to compile php again :
Code: [Select]
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!