php 安装 bzip2,brew install php bzip2 缺少

mac os x使用brew重新安装php55,总是提示bzip2缺少,需要重装,但系统中确实已经有了bzip2.

Last login: Sun May 17 12:48:12 on ttys001

bogon:~ ksoul$ brew list

aspell flex gmp libffi re2c

autoconf freetds icu4c libpng tidy-html5

bzip2 freetype imap-uw nginx unixodbc

curl gettext jpeg openssl wget

enchant glib lbzip2 pcre zlib

bogon:~ ksoul$ whereis bzip2

/usr/bin/bzip2

bogon:~ ksoul$ brew install php55 --with-cgi --with-debug --withgmp --with-imap --with-tidy

==> Installing php55 from josegonzalez/homebrew-php

==> Downloading https://www.php.net/get/php-5.5.25.tar.bz2/from/this/mirror

Already downloaded: /Library/Caches/Homebrew/php55-5.5.25

Warning: Backing up all known pear.conf and .pearrc files

Warning: If you have a pre-existing pear install outside

of homebrew-php, or you are using a non-standard

pear.conf location, installation may fail.

==> ./configure --prefix=/usr/local/Cellar/php55/5.5.25 --localstatedir=/usr/loc

checking for gzgets in -lz... yes

checking whether to enable bc style precision math functions... yes

checking for BZip2 support... yes

checking for BZip2 in default path... not found

configure: error: Please reinstall the BZip2 distribution

READ THIS: https://git.io/brew-troubleshooting

If reporting this issue please do so at (not Homebrew/homebrew):

https://github.com/josegonzalez/homebrew-php/issues

bogon:~ ksoul$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值