brew install memcache get Error: Formulae found in multiple taps
本篇文章由:http://xinpure.com/brew-install-memcache-get-error-formulae-found-in-multiple-taps/
安装环境:
Mac OSX 10.11.1
PHP 5.5.19
安装过程及错误信息
Input:
xinpureZhu:php xinpure$ brew install memcache
Output:
Error: No available formula with the name "memcache"
==> Searching for similarly named formulae...
These similarly named formulae were found:
josegonzalez/php/php53-memcache josegonzalez/php/php54-memcached josegonzalez/php/php56-memcache memcache-top
josegonzalez/php/php53-memcached josegonzalez/php/php55-memcache josegonzalez/php/php56-memcached memcached
josegonzalez/php/php54-memcache josegonzalez/php/php55-memcached libmemcached memcacheq
To install one of them, run (for example):
brew install josegonzalez/php/php53-memcache
==> Searching taps...
These formulae were found in taps:
homebrew/php/php53-memcache homebrew/php/php54-memcache homebrew/php/php55-memcache homebrew/php/php56-memcache homebrew/php/php70-memcached
homebrew/php/php53-memcached homebrew/php/php54-memcached homebrew/php/php55-memcached homebrew/php/php56-memcached
To install one of them, run (for example):
brew install homebrew/php/php53-memcache
Input:
xinpureZhu:php xinpure$ brew install homebrew/php/php55-memcache
Output:
==> Tapping homebrew/php
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-php'...
remote: Counting objects: 544, done.
remote: Compressing objects: 100% (502/502), done.
remote: Total 544 (delta 374), reused 66 (delta 41), pack-reused 0
Receiving objects: 100% (544/544), 217.13 KiB | 31.00 KiB/s, done.
Resolving deltas: 100% (374/374), done.
Checking connectivity... done.
Tapped 525 formulae (561 files, 2.6M)
==> Installing php55-memcache from homebrew/homebrew-php
Error: Formulae found in multiple taps:
* homebrew/php/php55
* josegonzalez/php/php55
Please use the fully-qualified name e.g. homebrew/php/php55 to refer the formula.
问题一 multiple taps 解决方法
brew untap josegonzalez/php
brew tap --repair
brew update
Input:
xinpureZhu:scripts xinpure$ brew install php55-memcached
Output:
...省略...
==> Installing homebrew/php/php55-memcached
==> Downloading https://pecl.php.net/get/memcached-2.2.0.tgz
######################################################################## 100.0%
==> /usr/local/opt/php55/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-memcached/2.2.0 --with-php-config=/usr/local/opt/php55/bin/php-config --with-libmemcached-dir=/usr/lo
Last 15 lines from /Users/xinpure/Library/Logs/Homebrew/php55-memcached/02.configure:
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... yes
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... yes
checking whether to enable memcached protocol support... no
checking for ZLIB... yes, shared
checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking for zlib location... configure: error: memcached support requires ZLIB(错误提示在这。。。). Use --with-zlib-dir=<DIR> to specify the prefix where ZLIB headers and library are located
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
问题二 memcached support requires ZLIB 解决方法
xcode-select --install
此命令会弹出安装界面,耐心等待安装完成。
Input:
xinpureZhu:scripts xinpure$ brew install php55-memcached
Output:
==> Installing php55-memcached from homebrew/homebrew-php
==> Downloading https://pecl.php.net/get/memcached-2.2.0.tgz
Already downloaded: /Library/Caches/Homebrew/php55-memcached-2.2.0.tgz
==> /usr/local/opt/php55/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-memcached/2.2.0 --with-php-config=/usr/local/opt/php55/bin/php-config --with-libmemcached-dir=/usr/lo
==> make
==> Caveats
To finish installing memcached for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-memcached.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the memcached module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the memcached module.
* - If you see it, you have been successful!
==> Summary
/usr/local/Cellar/php55-memcached/2.2.0: 5 files, 112K, built in 14 seconds
参考链接
问题一参考:
http://stackoverflow.com/questions/30864992/how-can-i-fix-error-formulae-found-in-multiple-taps
问题二参考:
https://github.com/Homebrew/homebrew-php/issues/2029
https://github.com/Homebrew/homebrew-php/issues/1953
brew install memcache get Error: Formulae found in multiple taps的更多相关文章
- brew Error: Formulae found in multiple taps
Mac PHP brew install php56-apcu Error: Formulae found in multiple taps: * homebrew/php/php56-apcu * ...
- brew install thrift
➜ ~ brew install thriftUpdating Homebrew...Warning: You are using macOS 10.11.We (and Apple) do not ...
- how to use brew install gpg
how to use brew install gpg https://formulae.brew.sh/formula/gnupg $ brew install gnupg https://gith ...
- mac brew install redis 报错
mac brew install redis 报错 /usr/local/opt/php55/bin/phpize /usr/local/opt/php55/bin/phpize: line 61: ...
- mac OSX 上 brew install hive
本文介绍brew install hive并修改默认的metastore存储方案,改Derby数据库为mysql的方法以及可能遇到的问题的解决方案. 1. 通过homebrew安装hive 1 bre ...
- mac osx 系统 brew install hadoop 安装指南
mac osx 系统 brew install hadoop 安装指南 brew install hadoop 配置 core-site.xml:配置hdfs文件地址(记得chmod 对应文件夹 ...
- mac brew install nginx遇到的坑
默认使用 brew install nginx 出现了一下的错误: p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: ...
- sudo brew install mongodb报错
报错信息如下: Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew ...
- Mac 下使用brew install 报错: Cowardly refusing to `sudo brew install'
Mac 下使用brew install 报错: localhost:infer-osx-v0.6.0 admin$ sudo brew install opam Error: Cowardly ref ...
随机推荐
- bzoj 2957 楼房重建 分块
楼房重建 Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://www.lydsy.com/JudgeOnline/problem.php?id=29 ...
- acdream 1735 输油管道 贪心
输油管道 Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acdream.info/problem?pid=1735 Description ...
- JAVA 垃圾收集监控
我们可以使用Java命令行和UI工具来监控应用程序的垃圾收集活动.下面的例子中,我使用Java SE Downloads 中一个演示程序. 如果你想使用同样的程序,前往 Java SE Downloa ...
- Linux下swap分区多大才合适的问题探讨
说明: 1.这个话题在每个Linux发行版中都各不相同,且在当下内存硬盘的时代下,再组个磁盘阵列之后速度相当. 2.我觉得硬盘大的情况下,有多大搞多大,我只要控制内存的使用率在99%时才使用swap, ...
- 通过手机音频口,实现与单片机通讯,做电子签名成功n
手机端的Ukey便携产品, 可以管理证书.加密解密.电子签名 : 1.通讯稳定,生成签名成功率100% 2.证书固化,私钥安全 3.走手机音频接口,通用.跨平台 4.耗电少,自带电池可长期供电,且可充 ...
- oc/object-c/ios哪种遍历NSArray/NSDictionary方式快?测试报告
做app的时候,总免不了要多次遍历数组或者字典.究竟哪种遍历方式比较快呢?我做了如下测试:首先定义测试用宏: ? 1 2 3 4 5 6 7 8 9 #define MULogTimeinterval ...
- Registering DLL and ActiveX controls from code
http://delphi.about.com/od/windowsshellapi/l/aa040803a.htm How to register (and unregister) OLE cont ...
- 纠正jQuery获取radio选中值的写法
先看一段代码 <input type="radio" name="aaa" value="1" checked="true& ...
- C++ Primer 学习笔记_91_用于大型程序的工具 --命名空间
用于大型程序的工具 --命名空间 引言: 在一个给定作用域中定义的每一个名字在该作用域中必须是唯一的,对庞大.复杂的应用程序而言,这个要求可能难以满足.这样的应用程序的全局作用域中一般有很多名字定义. ...
- Spark RDD API扩展开发
原文链接: Spark RDD API扩展开发(1) Spark RDD API扩展开发(2):自定义RDD 我们都知道,Apache Spark内置了很多操作数据的API.但是很多时候,当我们在现实 ...