@tompear, How I can downgrade 'gd' to 2.3.2? the gd-git.v2.3.2.r420.g826e5462-1 installed but I can't build php74-intl :( also I can't use your provided github link to downgrade the gd.
Search Criteria
Package Details: php74 7.4.33-9
Package Actions
Git Clone URL: | https://aur.archlinux.org/php74.git (read-only, click to copy) |
---|---|
Package Base: | php74 |
Description: | PHP. A general-purpose scripting language that is especially suited to web development |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | tompear |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.000428 |
First Submitted: | 2021-01-31 11:48 (UTC) |
Last Updated: | 2024-07-25 13:43 (UTC) |
Dependencies (58)
- libedit
- pcre
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- acl (acl-gitAUR) (make)
- apache (apache-gitAUR) (make)
- argon2 (argon2-gitAUR) (make)
- aspell (aspell-gitAUR) (make)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
- bash (bash-devel-gitAUR, bash-gitAUR) (make)
- c-clientAUR (make)
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-uutils-symlinkAUR, coreutils-uutils-selinuxAUR) (make)
- curl (curl-gitAUR, curl-c-aresAUR) (make)
- db5.3 (make)
- e2fsprogs (e2fsprogs-gitAUR) (make)
- enchant (make)
- findutils (findutils-gitAUR, findutils-selinuxAUR) (make)
- freetds (make)
- gawk (gawk-gitAUR) (make)
- gd (gd-gitAUR) (make)
- gmp (gmp-hgAUR) (make)
- hspell (make)
- hunspell (hunspell-gitAUR) (make)
- icu (icu-gitAUR) (make)
- krb5 (krb5-gitAUR) (make)
- libedit (make)
- libfbclient (firebirdAUR) (make)
- libffi (libffi-gitAUR) (make)
- libldap (libldap-gnutlsAUR) (make)
- libsasl (make)
- libsodium (libsodium-gitAUR, libsodium-1.0.18AUR) (make)
- libtool (libtool-gitAUR) (make)
- libvoikko (make)
- libxcrypt (libxcrypt-gitAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- libxslt (libxslt-gitAUR) (make)
- libzip (libzip-gitAUR) (make)
- lmdb (lumosqlAUR, lmdb-gitAUR) (make)
- ncurses (ncurses-gitAUR) (make)
- net-snmp (make)
- nuspell (nuspell-gitAUR) (make)
- oniguruma (oniguruma-gitAUR) (make)
- openssl-1.1 (make)
- pam (pam-selinuxAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- pcre (make)
- postgresql-libs (postgresql13-libsAUR, postgresql-libs-gitAUR, postgresql-libs-12AUR) (make)
- python (python37AUR) (make)
- sed (sed-gitAUR) (make)
- smtp-forwarder (femtomail-gitAUR, ssmtp-plainAUR, esmtpAUR, py-mailqueued-mtaAUR, ssmtpAUR, exim-heavyAUR, courier-mtaAUR, sendmailAUR, dma, exim, msmtp-mta, nullmailer, opensmtpd, postfix) (make)
- sqlite (sqlite-fossilAUR) (make)
- systemd (systemd-gitAUR, systemd-selinuxAUR) (make)
- systemd-libs (systemd-libs-gitAUR, systemd-libs-selinuxAUR) (make)
- tidy (make)
- unixodbc (unixodbc-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- procps-ng (procps-ng-gitAUR) (check)
- smtp-forwarder (femtomail-gitAUR, ssmtp-plainAUR, esmtpAUR, py-mailqueued-mtaAUR, ssmtpAUR, exim-heavyAUR, courier-mtaAUR, sendmailAUR, dma, exim, msmtp-mta, nullmailer, opensmtpd, postfix) (check)
Required by (70)
Sources (16)
- debian-php-7.4.patch
- https://php.net/distributions/php-7.4.33.tar.xz
- icu-74-php-7.4.patch
- libxml-21200-php-7.0.patch
- libxml-pear.patch
- litespeed-phpheader.patch
- make-tests.patch
- mysql-socket-php7.1.patch
- pear-config-patcher.php
- php-apache.conf
- php-libxml.patch
- php-makefile-patcher.php
- php-phpinfo.patch
- php74-enchant.patch
- timezonedb-guess.patch
- timezonedb-php7.4.patch
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 Next › Last »
hamedsbt commented on 2021-09-22 11:48 (UTC) (edited on 2021-09-22 12:15 (UTC) by hamedsbt)
tompear commented on 2021-09-17 06:48 (UTC) (edited on 2021-09-17 06:53 (UTC) by tompear)
Downgrade 'gd' to 2.3.2. In 2.3.3 some macros have been removed and older versions of PHP will not build anymore.
There are details https://github.com/libgd/libgd/commit/bdc281eadb1d58d5c0c7bbc1125ee4674256df08
zack6849 commented on 2021-09-16 16:27 (UTC)
https://github.com/libgd/libgd/issues/318 https://github.com/php/php-src/pull/7490
Tried using gd-git, no dice.
zack6849 commented on 2021-09-16 16:12 (UTC)
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
ihipop commented on 2021-08-02 06:11 (UTC) (edited on 2021-08-02 06:47 (UTC) by ihipop)
@tompear
-
you are right,this package doesn't conflicts with default
php
package -
php-pear
http://aur.archlinux.org/packages/php-pear works with multi version php,it's has a internal switch to set which php version suffix to use -
I will install default
php
package to havephp-pear
installed and usephp74
to run it instead
PHP_PEAR_PHP_BIN=php74 pear config-set php_suffix '74' system
PHP_PEAR_PHP_BIN=php74 pecl -d php_suffix=74 install swoole
tompear commented on 2021-07-30 07:45 (UTC)
Why should i do that? In my opinion it doesnt provide php as is, its php 7.4. Adding this is not good or even right solution but i can be wrong.
ihipop commented on 2021-07-29 03:46 (UTC)
can you add
provides=('php')
to this package?
tompear commented on 2021-06-21 13:38 (UTC)
There is syntax error in my comment about running tests manually. It should be:
export REPORT_EXIT_STATUS=1;export NO_INTERACTION=1;export SKIP_ONLINE_TESTS=1;export SKIP_SLOW_TESTS=1;export TEST_PHP_ARGS="-j$(nproc)";export TESTS='tests Zend'; ../build/sapi/cli/php -n run-tests.php -n -P {tests,Zend}
-P option is not part of PHP command and this one produces an error. This option is related with 'run-tests.php' script. I didnt paste command properly, there is no script to run.
miguelmsoler commented on 2021-06-16 14:07 (UTC)
I'm on Arch and I see the same error about no P option
kdvr commented on 2021-05-10 15:21 (UTC)
Sure I understand. I see that it fails on Error in argument 2, char 2: option not found P
. I'll fix this manually no worries. It does seem strange that this option isn't available, but software is software :-)
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