博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
brew install thrift
阅读量:5044 次
发布时间:2019-06-12

本文共 8814 字,大约阅读时间需要 29 分钟。

➜ ~ brew install thrift

Updating Homebrew...
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience, as you are running this old version.

Warning: A newer Command Line Tools release is available.

Update them from Software Update in the App Store.

==> Installing dependencies for thrift: icu4c, boost and openssl

==> Installing thrift dependency: icu4c
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

==> Downloading https://ssl.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz

########### 15.8%
curl: (18) transfer closed with 20228546 bytes remaining to read
Trying a mirror...
==> Downloading https://github.com/unicode-org/icu/releases/download/release-64-
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws
################ 23.3%
curl: (56) SSLRead() return error -9806
Error: An exception occurred within a child process:
DownloadError: Failed to download resource "icu4c"
Download failed: https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz

➜ ~ home brew install thrift

zsh: command not found: home
➜ ~ brew install thrift
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
whalebrew
==> Updated Formulae
atlantis exploitdb kube-aws operator-sdk
bazel fio kustomize pulumi
bundletool gatsby-cli kvazaar radare2
circleci ghex landscaper redex
dbus golang-migrate lgogdownloader sysdig
di helmfile libjson-rpc-cpp ttyd
dita-ot hqx libtensorflow ucloud
doctl i386-elf-gcc lxc ungit
dynamips i386-elf-gdb minio-mc zabbix
eprover i386-elf-grub nss znc
erlang@21 jsoncpp openhmd

Warning: You are using macOS 10.11.

We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience, as you are running this old version.

Warning: A newer Command Line Tools release is available.

Update them from Software Update in the App Store.

==> Installing dependencies for thrift: icu4c, boost and openssl

==> Installing thrift dependency: icu4c
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

==> Downloading https://ssl.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz

######################################################################## 100.0%
curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
Trying a mirror...
==> Downloading https://github.com/unicode-org/icu/releases/download/release-64-
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws

curl: (28) Connection timed out after 5004 milliseconds

Error: An exception occurred within a child process:
DownloadError: Failed to download resource "icu4c"
Download failed: https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz

➜ ~ brew install thrift

Updating Homebrew...
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience, as you are running this old version.

Warning: A newer Command Line Tools release is available.

Update them from Software Update in the App Store.

==> Installing dependencies for thrift: icu4c, boost and openssl

==> Installing thrift dependency: icu4c
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

==> Downloading https://ssl.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz

######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/icu4c/64.2 --disable-samples --disabl
==> make
==> make install
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:

echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c you may need to set:

export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> Summary

? /usr/local/Cellar/icu4c/64.2: 257 files, 69.6MB, built in 24 minutes 35 seconds
==> Installing thrift dependency: boost
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

==> Downloading https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70

==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/430ae8354789de4fd19ee
######################################################################## 100.0%
==> ./bootstrap.sh --prefix=/usr/local/Cellar/boost/1.70.0 --libdir=/usr/local/C
==> ./b2 headers
==> ./b2 --prefix=/usr/local/Cellar/boost/1.70.0 --libdir=/usr/local/Cellar/boos
^[OP? /usr/local/Cellar/boost/1.70.0: 13,981 files, 507.7MB, built in 28 minutes 8 seconds
==> Installing thrift dependency: openssl
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

==> Downloading https://www.openssl.org/source/openssl-1.0.2s.tar.gz

######################################################################## 100.0%
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.2s --openssldir=/usr
==> make depend
==> make
==> make test
==> make install MANDIR=/usr/local/Cellar/openssl/1.0.2s/share/man MANSUFFIX=ssl
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs

and run

/usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,

because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:

echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl you may need to set:

export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> Summary

? /usr/local/Cellar/openssl/1.0.2s: 1,787 files, 12.2MB, built in 9 minutes 56 seconds
==> Installing thrift
==> Downloading https://www.apache.org/dyn/closer.cgi?path=/thrift/0.12.0/thrift
==> Downloading from http://mirrors.tuna.tsinghua.edu.cn/apache/thrift/0.12.0/th
######################################################################## 100.0%
==> ./configure --disable-tests --prefix=/usr/local/Cellar/thrift/0.12.0 --libdi
==> make
==> make install
? /usr/local/Cellar/thrift/0.12.0: 102 files, 7.2MB, built in 3 minutes 44 seconds
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /usr/local/Cellar/icu4c/61.1... (249 files, 67.3MB)
Removing: /usr/local/Cellar/openssl/1.0.2j... (1,695 files, 12MB)
Removing: /Users/exmyth/Library/Caches/Homebrew/java_cache... (286B)
Pruned 0 symbolic links and 2 directories from /usr/local
==> Caveats
==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:

echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c you may need to set:

export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> openssl

A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs

and run

/usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,

because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:

echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl you may need to set:

export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"

➜ ~

➜ ~
➜ ~ which thrift
/usr/local/bin/thrift

转载于:https://www.cnblogs.com/exmyth/p/11183568.html

你可能感兴趣的文章
bzoj2190 [SDOI2008]仪仗队
查看>>
Tyvj1209
查看>>
单利设计模式
查看>>
github里,star和fork操作,该如何选择?
查看>>
在VS2010下如何使用头文件unistd.h
查看>>
java实现快速排序
查看>>
log4net的应用
查看>>
Android -- EventBus解析
查看>>
转载:C# this.invoke()作用 多线程操作UI 理解二
查看>>
Vim安装及配置
查看>>
奥东......C# Base Coding
查看>>
JavaScript中清空数组的三种方式
查看>>
HTML5学习
查看>>
cocos2dx翻牌效果示例
查看>>
SpringBoot系列: SpringBoot 启动慢的问题
查看>>
32位Windows7上8G内存使用感受+xp 32位下使用8G内存 (转)
查看>>
【转】Linux下nginx配置https协议访问的方法
查看>>
activemq集群搭建Demo
查看>>
zookeeper系列之通信模型(转)
查看>>
windows Phone 7如何实现background的情况下不丢失数据
查看>>