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 ...
随机推荐
- Cocos2d-x3.0 解压zip
2dx3.0为我们集成了unzip库,帮助我们实现对文件的解压,但使用起来略显复杂我这里封装了一个解压工具库.分享一下. 工具类下载:http://download.csdn.net/detail/q ...
- PHP str_pad() 函数
str_pad() 函数把字符串填充为指定的长度. 进入 详细介绍页面
- Hbulider 支持less保存自动编译
设置less配置:文件写 .less,路径找lessc.cmd,找不到就下载,命令参数写:%FileName% %FileBaseName%.css这样以后就可以less文件自动生成css了!
- [翻译] DFCircleActivityIndicator DF圆形活动状态指示器
DFCircleActivityIndicator Native, customizable and animated circular view to show when long activity ...
- api的mock开源工具;api文档生成器;api的mock工具;阿里系;其他开源
django-rest-framework,即drf的api文档,包括自带的文档和其他三方文档,比如swagger.DRF Docs等 https://www.django-rest-framewor ...
- Echarts使用dataset数据集管理数据
1.可以看官网api的入门例子 使用常见的对象数组的格式 option = { legend: {}, tooltip: {}, dataset: { // 这里指定了维度名的顺序,从而可以利用默认的 ...
- uva 10518 - How Many Calls?(矩阵快速幂)
题目链接:uva 10518 - How Many Calls? 公式f(n) = 2 * F(n) - 1, F(n)用矩阵快速幂求. #include <stdio.h> #inclu ...
- Android4.2.2 Gallery2源码分析(2)——发现Gallery.java
上文中,main.xml是我直接提出来的,并没有说明是怎么找到它的,现在说明发现它的理由: 一般我们分析界面布局会用到hierarchyviewer这个工具,从工具中,我们对应到视图,最主要的视图id ...
- 微信公众帐号开发教程第4篇-----开发模式启用及接口配置Java
欢迎加入群:347245650 345531810 进行讨论相互交流 我的微信号:572839485 我的微信公众账号 我的微社区欢迎关注 索取源码←请点击 图床:没有服务器 拖拽图片 外网即 ...
- BlazeMeter+Jmeter 搭建接口测试框架
转载:http://www.sohu.com/a/133218497_575744 关于接口测试,笔者认为其难点分别在如下几方面:接口参数的获取和输入.测试数据的准备.场景的串联.测试结果的断言. 接 ...