Mac Install Memcache For Xampp With Homebrew
I have a problem. (Mac OS) `➜ pecl-memcache git:(NON_BLOCKING_IO_php7) git clone -b NON_BLOCKING_IO_php7 Cloning into 'pecl-memcache'. Remote: Counting objects: 1879, done. Remote: Total 1879 (delta 0), reused 0 (delta 0), pack-reused 1879 Receiving objects: 100% (1879/1879), 445.79 KiB 523.00 KiB/s, done.
Resolving deltas: 100% (1308/1308), done. ➜ pecl-memcache git:(NON_BLOCKING_IO_php7) ✗ cd pecl-memcache ➜ pecl-memcache git:(NON_BLOCKING_IO_php7) phpize grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable.
Then, rerun this script. ➜ pecl-memcache git:(NON_BLOCKING_IO_php7)./configure zsh: no such file or directory:./configure ➜ pecl-memcache git:(NON_BLOCKING_IO_php7) make && make install make: *** No targets specified and no makefile found. Hey guys, anyone tried to install this with OS X High Sierra? Getting the following in command ' phpize': grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: Then getting this on command './configure': 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 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 for gawk. No checking for nawk. No checking for awk. Turbo grafx pc emulator. Awk checking if awk is broken. No checking whether to enable memcache support. Yes, shared checking whether to enable memcache session handler support. Yes checking for the location of ZLIB. No checking for the location of zlib. Configure: error: memcache support requires ZLIB.
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 whether cc understands -c and -o together.
Yes 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-darwin17.3.0 checking host system type. X86_64-apple-darwin17.3.0 checking target system type. X86_64-apple-darwin17.3.0 checking for PHP prefix. /usr checking for PHP includes. -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory. /usr/lib/php/extensions/no-debug-non-zts-20160303 checking for PHP installed headers prefix. /usr/include/php checking if debug is enabled.
No checking if zts is enabled. No checking for re2c.
No configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. Checking for gawk. No checking for nawk. No checking for awk. Awk checking if awk is broken.
No checking whether to enable memcache support. Yes, shared checking whether to enable memcache session handler support. Yes checking for the location of ZLIB. No checking for the location of zlib. Configure: error: memcache support requires ZLIB. Use --with-zlib-dir= to specify prefix where ZLIB include and library are located And of course ' make && make install' not working.
Make: *** No targets specified and no makefile found.
- четверг 29 ноября
- 75