Having errors trying to build this, around some of the libxml parts.
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:479:47: error: expected ‘;’, ‘,’ or ‘)’ before ‘ATTRIBUTE_UNUSED’
479 | int compression ATTRIBUTE_UNUSED)
| ^~~~~~~~~~~~~~~~
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c: In function ‘php_libxml_shutdown’:
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:834:17: warning: ‘xmlRelaxNGCleanupTypes’ is deprecated [-Wdeprecated-declarations]
834 | xmlRelaxNGCleanupTypes();
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:41:
/usr/include/libxml2/libxml/relaxng.h:125:21: note: declared here
125 | xmlRelaxNGCleanupTypes (void);
| ^~~~~~~~~~~~~~~~~~~~~~
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c: In function ‘zm_startup_libxml’:
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:928:54: error: ‘php_libxml_output_buffer_create_filename’ undeclared (first use in this function); did you mean ‘php_libxml_input_buffer_create_filename’?
928 | xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| php_libxml_input_buffer_create_filename
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:928:54: note: each undeclared identifier is reported only once for each function it appears in
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c: In function ‘zm_activate_libxml’:
/home/evan/downloads/temp/php74/src/php-7.4.33/ext/libxml/libxml.c:941:54: error: ‘php_libxml_output_buffer_create_filename’ undeclared (first use in this function); did you mean ‘php_libxml_input_buffer_create_filename’?
941 | xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| php_libxml_input_buffer_create_filename
Any ideas?
Pinned Comments
el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php74
is installed withphp74-cli
subpackage,php74
doesn't include it anymore!!!PEAR and PECL are available as
php74-pear
andphp74-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php74
package anymore.No more extensions in php.ini itself! Separate INI files for each extension are placed in
/etc/php74/conf.d
They are loaded in correct order according to priorityModules: mysqlnd, mysqli and pdo_mysql are moved to single package
php74-mysql
php74-xsl
requiresphp74-xml
andphp74-dom
to be installedphp74-enchant
build with dependencies:libvoikko
,hspell
,hunspell
,nuspell
,aspell