Skip to content

[PHP 7.4] pecl install memcached fails #446

Closed
@ruudk

Description

@ruudk
$ pecl install memcached
pecl/memcached can optionally use PHP extension "igbinary" (version >= 2.0)
pecl/memcached can optionally use PHP extension "msgpack" (version >= 2.0)
downloading memcached-3.1.4.tgz ...
Starting to download memcached-3.1.4.tgz (82,920 bytes)
....................done: 82,920 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
cp: /private/tmp/pear/temp/memcached/build/php.m4: Permission denied
cp: /private/tmp/pear/temp/memcached/build/shtool: Permission denied
cp: /private/tmp/pear/temp/memcached/build/libtool.m4: Permission denied
cp: /private/tmp/pear/temp/memcached/build/ax_check_compile_flag.m4: Permission denied
cp: /private/tmp/pear/temp/memcached/build/ax_gcc_func_attribute.m4: Permission denied
cp: /private/tmp/pear/temp/memcached/build/php_cxx_compile_stdcxx.m4: Permission denied
cp: /private/tmp/pear/temp/memcached/build/pkg.m4: Permission denied
cp: /private/tmp/pear/temp/memcached/build/config.guess: Permission denied
cp: /private/tmp/pear/temp/memcached/build/config.sub: Permission denied
cp: /private/tmp/pear/temp/memcached/build/ltmain.sh: Permission denied
cp: /private/tmp/pear/temp/memcached/build/Makefile.global: Permission denied
cp: /private/tmp/pear/temp/memcached/run-tests.php: Permission denied
libmemcached directory [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

zlib directory [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

use system fastlz [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

enable igbinary serializer [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

enable msgpack serializer [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

enable json serializer [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

enable server protocol [no] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

enable sasl [yes] : no

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

enable sessions [yes] :

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in Builder.php on line 407
PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
PHP   2. require_once() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
PHP   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
PHP   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
PHP   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
PHP   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
PHP   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Builder.php on line 407

Call Stack:
    0.0003     415696   1. {main}() /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:0
    0.0013     483528   2. require_once('/usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php') /usr/local/Cellar/php/7.4.0/share/php/pear/peclcmd.php:32
    0.0257    1924320   3. PEAR_Command_Install->run() /usr/local/Cellar/php/7.4.0/share/php/pear/pearcmd.php:317
    0.0257    1924320   4. PEAR_Command_Install->doInstall() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Common.php:270
    1.0234    5162840   5. PEAR_Installer->install() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Command/Install.php:718
    1.1665    5619880   6. PEAR_Installer->_compileSourceFiles() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1416
    1.1672    5694000   7. PEAR_Builder->build() /usr/local/Cellar/php/7.4.0/share/php/pear/PEAR/Installer.php:1521

building in /private/tmp/pear/temp/pear-build-RuudxYOuGC/memcached-3.1.4
running: /private/tmp/pear/temp/memcached/configure --with-php-config=/usr/local/opt/php/bin/php-config --with-libmemcached-dir=no --with-zlib-dir=no --with-system-fastlz=no --enable-memcached-igbinary=no --enable-memcached-msgpack=no --enable-memcached-json=no --enable-memcached-protocol=no --enable-memcached-sasl=no --enable-memcached-session=yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin19.0.0
checking host system type... x86_64-apple-darwin19.0.0
checking target system type... x86_64-apple-darwin19.0.0
checking for PHP prefix... /usr/local/Cellar/php/7.4.0
checking for PHP includes... -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php/7.4.0/pecl/20190902
checking for PHP installed headers prefix... /usr/local/Cellar/php/7.4.0/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable memcached support... yes, shared
checking for libmemcached... yes, shared
checking whether to enable memcached session handler support... yes
checking whether to enable memcached igbinary serializer support... no
checking whether to enable memcached json serializer support... no
checking whether to enable memcached msgpack serializer support... no
checking whether to enable memcached sasl support... no
checking whether to enable memcached protocol support... no
checking whether to use system FastLZ library... no
checking for ZLIB... yes, shared
checking for pkg-config... /usr/local/bin/pkg-config
checking for zlib location... /usr/local/opt/zlib
checking for session includes... /usr/local/Cellar/php/7.4.0/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... found version 1.0.18, under /usr/local/Cellar/libmemcached/1.0.18_2
checking for libmemcached sasl.h requirement... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking whether to enable sasl support... no
checking whether memcached_exist is defined... yes
checking whether memcached_set_encoding_key is defined... yes
checking for memcached protocol support... disabled
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-RuudxYOuGC/memcached-3.1.4/libtool --mode=compile cc -I/usr/local/Cellar/php/7.4.0/include/php    -I. -I/private/tmp/pear/temp/memcached -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-RuudxYOuGC/memcached-3.1.4/include -I/private/tmp/pear/temp/pear-build-RuudxYOuGC/memcached-3.1.4/main -I/private/tmp/pear/temp/memcached -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib -I/usr/local/opt/zlib/include -I/usr/local/Cellar/libmemcached/1.0.18_2/include  -DHAVE_CONFIG_H  -g -O2 -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include
/php/ext/date/lib -I/usr/local/opt/zlib/include -I/usr/local/Cellar/libmemcached/1.0.18_2/include   -c /private/tmp/pear/temp/memcached/php_memcached.c -o php_memcached.lo
mkdir .libs
 cc -I/usr/local/Cellar/php/7.4.0/include/php -I. -I/private/tmp/pear/temp/memcached -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-RuudxYOuGC/memcached-3.1.4/include -I/private/tmp/pear/temp/pear-build-RuudxYOuGC/memcached-3.1.4/main -I/private/tmp/pear/temp/memcached -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib -I/usr/local/opt/zlib/include -I/usr/local/Cellar/libmemcached/1.0.18_2/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/Cellar/php/7.4.0/include/php -I/usr/local/Cellar/php/7.4.0/include/php/main -I/usr/local/Cellar/php/7.4.0/include/php/TSRM -I/usr/local/Cellar/php/7.4.0/include/php/Zend -I/usr/local/Cellar/php/7.4.0/include/php/ext -I/usr/local/Cellar/php/7.4.0/include/php/ext/date/lib -I/usr/local/opt/zlib/include -I/usr/local/Cellar/libmemcached/1.0.18_2/includ
e -c /private/tmp/pear/temp/memcached/php_memcached.c  -fno-common -DPIC -o .libs/php_memcached.o
/private/tmp/pear/temp/memcached/php_memcached.c:3237:7: error: expected ';' after expression
        ulong key_index;
             ^
             ;
/private/tmp/pear/temp/memcached/php_memcached.c:3237:2: error: use of undeclared identifier 'ulong'
        ulong key_index;
        ^
/private/tmp/pear/temp/memcached/php_memcached.c:3237:8: error: use of undeclared identifier 'key_index'
        ulong key_index;
              ^
/private/tmp/pear/temp/memcached/php_memcached.c:3250:49: error: use of undeclared identifier 'key_index'
        ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), key_index, key, value) {
                                                       ^
/private/tmp/pear/temp/memcached/php_memcached.c:3255:44: error: use of undeclared identifier 'key_index'
                        if (!php_memc_set_option(intern, (long) key_index, value)) {
                                                                ^
5 errors generated.
make: *** [php_memcached.lo] Error 1
ERROR: `make' failed

What to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions