I'm getting errors when compiling with GD right now -- anyone have any ideas?
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c: In function ‘zm_startup_gd’:
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1140:55: error: ‘GD_FLIP_HORINZONTAL’ undeclared (first use in this function)
1140 | REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1140:55: note: each undeclared identifier is reported only once for each function it appears in
1140 | REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1141:53: error: ‘GD_FLIP_VERTICAL’ undeclared (first use in this function)
1141 | REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:1142:49: error: ‘GD_FLIP_BOTH’ undeclared (first use in this function)
1142 | REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT);
| ^~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/Zend/zend_constants.h:53:105: note: in definition of macro ‘REGISTER_LONG_CONSTANT’
53 | #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
| ^~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c: In function ‘zif_imageflip’:
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:4699:22: error: ‘GD_FLIP_VERTICAL’ undeclared (first use in this function)
4699 | case GD_FLIP_VERTICAL:
| ^~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:4703:22: error: ‘GD_FLIP_HORINZONTAL’ undeclared (first use in this function)
4703 | case GD_FLIP_HORINZONTAL:
| ^~~~~~~~~~~~~~~~~~~
/home/zack/.cache/aurutils/sync/php74/src/php-7.4.23/ext/gd/gd.c:4707:22: error: ‘GD_FLIP_BOTH’ undeclared (first use in this function)
4707 | case GD_FLIP_BOTH:
| ^~~~~~~~~~~~
make: *** [Makefile:1087: ext/gd/gd.lo] Error 1
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