For the last 3 days (and today), PHP has failed to update from 8.2.18 to 8.2.19 and also from 8.3.6 to 8.3.7.
The error is: configure: error: *** A compiler with support for C++17 language features is required.
Looking at the CustomBuild log, reveals:
Looking for a solution, I discovered this link - Fix check for newer versions of ICU
I think the bottom line is this response referring to buildconf -f before ./configure
Is this something that CustomBuild can/will deal with or must I make the manual corrections?
David
The error is: configure: error: *** A compiler with support for C++17 language features is required.
Looking at the CustomBuild log, reveals:
Rich (BB code):
Updating PHP 8.3
....
checking whether to enable internationalization support... yes
checking whether to enable internationalization support... yes
checking for icu-uc >= 50.1 icu-io icu-i18n... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... -std=gnu++11
checking how to run the C++ preprocessor... g++ -std=gnu++11 -E
checking if intl requires -std=gnu++17... yes
checking whether g++ -std=gnu++11 supports C++17 features with -std=c++17... no
checking whether g++ -std=gnu++11 supports C++17 features with +std=c++17... no
checking whether g++ -std=gnu++11 supports C++17 features with -h std=c++17... no
checking whether g++ -std=gnu++11 supports C++17 features with -std=c++1z... no
checking whether g++ -std=gnu++11 supports C++17 features with +std=c++1z... no
checking whether g++ -std=gnu++11 supports C++17 features with -h std=c++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-8.2.19.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.pJnkRrTHDn.php-8.2.19.tar.gz'
Updating PHP 8.3
....
checking whether to enable internationalization support... yes
checking for icu-uc >= 50.1 icu-io icu-i18n... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking if intl requires -std=gnu++17... yes
checking whether g++ supports C++17 features with -std=c++17... no
checking whether g++ supports C++17 features with +std=c++17... no
checking whether g++ supports C++17 features with -h std=c++17... no
checking whether g++ supports C++17 features with -std=c++1z... no
checking whether g++ supports C++17 features with +std=c++1z... no
checking whether g++ supports C++17 features with -h std=c++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-8.3.7.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.UUcqws5HY2.php-8.3.7.tar.gz'
Looking for a solution, I discovered this link - Fix check for newer versions of ICU
I think the bottom line is this response referring to buildconf -f before ./configure
Is this something that CustomBuild can/will deal with or must I make the manual corrections?
David