Install protobuf in mac OSx

install protobuf

protobuf-c 

protobuf3-cpp

macbook-pro:UseKQueue username$ sudo port install protobuf-c

--->  Computing dependencies for protobuf-c

The following dependencies will be installed:  protobuf3-cpp

Continue? [Y/n]: Y

--->  Fetching archive for protobuf3-cpp

--->  Attempting to fetch protobuf3-cpp-3.17.3_0.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/protobuf3-cpp

--->  Attempting to fetch protobuf3-cpp-3.17.3_0.darwin_18.x86_64.tbz2.rmd160 from https://pek.cn.packages.macports.org/macports/packages/protobuf3-cpp

--->  Installing protobuf3-cpp @3.17.3_0

--->  Activating protobuf3-cpp @3.17.3_0

--->  Cleaning protobuf3-cpp

--->  Fetching archive for protobuf-c

--->  Attempting to fetch protobuf-c-1.4.0_0.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/protobuf-c

--->  Attempting to fetch protobuf-c-1.4.0_0.darwin_18.x86_64.tbz2.rmd160 from https://pek.cn.packages.macports.org/macports/packages/protobuf-c

--->  Installing protobuf-c @1.4.0_0

--->  Activating protobuf-c @1.4.0_0

--->  Cleaning protobuf-c

--->  Scanning binaries for linking errors

--->  No broken files found.                             

--->  No broken ports found.

==============================

install   protobuf3-java

192:ports username$ sudo port install protobuf3-java

--->  Computing dependencies for protobuf3-java

The following dependencies will be installed:

maven3

maven_select

Continue? [Y/n]: y

--->  Fetching archive for maven_select

--->  Attempting to fetch maven_select-0.3_2.darwin_18.noarch.tbz2 from https://pek.cn.packages.macports.org/macports/packages/maven_select

--->  Attempting to fetch maven_select-0.3_2.darwin_18.noarch.tbz2 from https://kmq.jp.packages.macports.org/maven_select

--->  Attempting to fetch maven_select-0.3_2.darwin_18.noarch.tbz2 from https://packages.macports.org/maven_select

--->  Fetching distfiles for maven_select

--->  Verifying checksums for maven_select

--->  Extracting maven_select

--->  Configuring maven_select

--->  Building maven_select

--->  Staging maven_select into destroot

--->  Installing maven_select @0.3_2

--->  Activating maven_select @0.3_2

--->  Cleaning maven_select

--->  Fetching archive for maven3

--->  Attempting to fetch maven3-3.8.2_0.darwin_18.noarch.tbz2 from https://pek.cn.packages.macports.org/macports/packages/maven3

--->  Attempting to fetch maven3-3.8.2_0.darwin_18.noarch.tbz2 from https://kmq.jp.packages.macports.org/maven3

--->  Attempting to fetch maven3-3.8.2_0.darwin_18.noarch.tbz2 from https://packages.macports.org/maven3

--->  Fetching distfiles for maven3

--->  Attempting to fetch apache-maven-3.8.2-bin.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/maven3

--->  Attempting to fetch apache-maven-3.8.2-bin.tar.gz from http://cjj.kr.distfiles.macports.org/maven3

--->  Verifying checksums for maven3                                                 

--->  Extracting maven3

--->  Configuring maven3

--->  Building maven3

--->  Staging maven3 into destroot

--->  Installing maven3 @3.8.2_0

--->  Activating maven3 @3.8.2_0

--->  Cleaning maven3

--->  Fetching archive for protobuf3-java

--->  Attempting to fetch protobuf3-java-3.4.0_3.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/protobuf3-java

--->  Attempting to fetch protobuf3-java-3.4.0_3.darwin_18.x86_64.tbz2 from https://kmq.jp.packages.macports.org/protobuf3-java

--->  Attempting to fetch protobuf3-java-3.4.0_3.darwin_18.x86_64.tbz2 from https://packages.macports.org/protobuf3-java

--->  Fetching distfiles for protobuf3-java

--->  Attempting to fetch protobuf-java-3.4.0.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/protobuf3-java

--->  Attempting to fetch protobuf-java-3.4.0.tar.gz from http://cjj.kr.distfiles.macports.org/protobuf3-java

--->  Verifying checksums for protobuf3-java                                         

--->  Extracting protobuf3-java

--->  Configuring protobuf3-java

--->  Building protobuf3-java

Error: Failed to build protobuf3-java: command execution failed

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_protobuf3-java/protobuf3-java/main.log for details.

Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Error: Processing of port protobuf3-java failed

--->  Some of the ports you installed have notes:

  maven3 has the following notes:

    To make maven 3.8.2 the default, please run

    sudo port select --set maven maven3

192:ports username$ vim ~/.profile

192:ports username$ sudo port select --set maven maven3

Password:

Selecting 'maven3' for 'maven' succeeded. 'maven3' is now active.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值