Bug #81471 [Com]: compiling against GD 2.3.3 fails
| From: | s dot molenaar at m2mobi dot com | Date: | Thu, 23 Sep 2021 19:47:07 +0000 |
| Subject: | Bug #81471 [Com]: compiling against GD 2.3.3 fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236787@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81471&edit=1
ID: 81471
Comment by: s dot molenaar at m2mobi dot com
Reported by: s dot molenaar at m2mobi dot com
Summary: compiling against GD 2.3.3 fails
Status: Open
Type: Bug
Package: Compile Failure
Operating System: macOS
PHP Version: 8.0.11
Block user comment: N
Private report: N
New Comment:
See also: https://github.com/Homebrew/homebrew-core/issues/85715
Previous Comments:
------------------------------------------------------------------------
[2021-09-23 19:46:18] s dot molenaar at m2mobi dot com
Description:
------------
./configure
--prefix=/usr/local/Cellar/php/8.0.10
--localstatedir=/usr/local/var
--sysconfdir=/usr/local/etc/php/8.0
--with-config-file-path=/usr/local/etc/php/8.0
--with-config-file-scan-dir=/usr/local/etc/php/8.0/conf.d
--with-pear=/usr/local/Cellar/php/8.0.10/share/php/pear
--enable-bcmath
--enable-calendar
--enable-dba
--enable-exif
--enable-ftp
--enable-fpm
--enable-gd
--enable-intl
--enable-mbregex
--enable-mbstring
--enable-mysqlnd
--enable-pcntl
--enable-phpdbg
--enable-phpdbg-readline
--enable-phpdbg-webhelper
--enable-shmop
--enable-soap
--enable-sockets
--enable-sysvmsg
--enable-sysvsem
--enable-sysvshm
--with-apxs2=/usr/local/opt/httpd/bin/apxs
--with-bz2=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr
--with-curl
--with-external-gd
--with-external-pcre
--with-ffi
--with-fpm-user=_www
--with-fpm-group=_www
--with-gettext=/usr/local/opt/gettext
--with-gmp=/usr/local/opt/gmp
--with-iconv=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr
--with-kerberos
--with-layout=GNU
--with-ldap=/usr/local/opt/openldap
--with-libxml
--with-libedit
--with-mhash=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr
--with-mysql-sock=/tmp/mysql.sock
--with-mysqli=mysqlnd
--with-ndbm=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr
--with-openssl
--with-password-argon2=/usr/local/opt/argon2
--with-pdo-dblib=/usr/local/opt/freetds
--with-pdo-mysql=mysqlnd
--with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc
--with-pdo-pgsql=/usr/local/opt/libpq
--with-pdo-sqlite
--with-pgsql=/usr/local/opt/libpq
--with-pic
--with-pspell=/usr/local/opt/aspell
--with-sodium
--with-sqlite3
--with-tidy=/usr/local/opt/tidy-html5
--with-unixODBC
--with-xmlrpc
--with-xsl
--with-zip
--with-zlib
--enable-dtrace
--with-ldap-sasl
--with-os-sdkpath=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
Test script:
---------------
Running make will fail
Expected result:
----------------
Successful compile
Actual result:
--------------
Last 15 lines from /Users/sean/Library/Logs/Homebrew/php/03.make:
/private/tmp/php-20210923-57446-lnptyu/php-8.0.10/ext/gd/gd.c:355:42: error: use of undeclared
identifier 'GD_FLIP_BOTH'
REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS |
CONST_PERSISTENT);
^
/private/tmp/php-20210923-57446-lnptyu/php-8.0.10/ext/gd/gd.c:3529:8: error: use of undeclared
identifier 'GD_FLIP_VERTICAL'
case GD_FLIP_VERTICAL:
^
/private/tmp/php-20210923-57446-lnptyu/php-8.0.10/ext/gd/gd.c:3533:8: error: use of undeclared
identifier 'GD_FLIP_HORIZONTAL'
case GD_FLIP_HORIZONTAL:
^
/private/tmp/php-20210923-57446-lnptyu/php-8.0.10/ext/gd/gd.c:3537:8: error: use of undeclared
identifier 'GD_FLIP_BOTH'
case GD_FLIP_BOTH:
^
6 errors generated.
make: *** [ext/gd/gd.lo] Error 1
make: *** Waiting for unfinished jobs....
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81471&edit=1