测试网络 Mac 编译出现的问题,求帮助提示下问题

clark · 2018年10月28日 · 最后由 gk5 回复于 2018年10月29日 · 179 次阅读
➜  eos git:(master) ./eosio_build.sh

    Beginning build version: 1.2
    Sun Oct 28 11:26:40 UTC 2018
    User: clark
    git head id: f9a3d023c05d6b7984cbd7263a5a39e650c87e90
    Current branch: master

    ARCHITECTURE: Darwin

    OS name: Darwin
    OS Version: 10.14
    CPU speed: 2.30Ghz
    CPU cores: 2
    Physical Memory: 8 Gbytes
    Disk install: /dev/disk1s1
    Disk space total: 233G
    Disk space available: 90G

    Checking xcode-select installation
    xcode-select installation found @
    /usr/bin/xcode-select

    Checking Ruby installation.
    Ruby installation found @
    /usr/local/bin/ruby

    Checking Home Brew installation
    Home Brew installation found @
    /usr/local/bin/brew

    Checking dependencies.
    Checking automake ...        automake found
    Checking Libtool ...         Libtool found
    Checking OpenSSL ...         OpenSSL found
    Checking llvm ...        llvm NOT found.
    Checking wget ...        wget NOT found.
    Checking CMake ...       CMake NOT found.
    Checking GMP ...         GMP NOT found.
    Checking gettext ...         gettext NOT found.
    Checking MongoDB ...         MongoDB found
    Checking Doxygen ...         Doxygen NOT found.
    Checking Graphviz ...        Graphviz NOT found.
    Checking LCOV ...        LCOV NOT found.
    Checking Python3 ...         Python3 found

    The following dependencies are required to install EOSIO.

    1. llvm
    2. wget
    3. CMake
    4. GMP
    5. gettext
    6. Doxygen
    7. Graphviz
    8. LCOV


Do you wish to install these packages?
1) Yes
2) No
#? 1
    Updating Home Brew.
Already up-to-date.
    Installing Dependencies.
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/llvm@4-4.0.1.mojave
######################################                                    53.1%
curl: (56) Unexpected EOF
Error: Failed to download resource "llvm@4"
Download failed: https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/llvm@4-4.0.1.mojave.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Installing dependencies for llvm@4: cmake
==> Installing llvm@4 dependency: cmake
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/cmake-3.12.3.mojave
######################################################################## 100.0%
==> Pouring cmake-3.12.3.mojave.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.12.3: 2,417 files, 33.3MB
==> Downloading https://releases.llvm.org/4.0.1/llvm-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/cfe-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/clang-tools-extra-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/openmp-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/libcxx-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/libunwind-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/lld-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/polly-4.0.1.src.tar.xz
######################################################################## 100.0%
==> Downloading https://releases.llvm.org/4.0.1/compiler-rt-4.0.1.src.tar.xz
######################################################################## 100.0%
==> cmake -G Unix Makefiles .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEAS
==> make
==> make install
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm@4/lib -Wl,-rpath,/usr/local/opt/llvm@4/lib"

llvm@4 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have llvm@4 first in your PATH run:
  echo 'export PATH="/usr/local/opt/llvm@4/bin:$PATH"' >> ~/.zshrc

For compilers to find llvm@4 you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm@4/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm@4/include"

==> Summary
🍺  /usr/local/Cellar/llvm@4/4.0.1: 2,254 files, 1010.4MB, built in 57 minutes 36 seconds
==> Installing dependencies for wget: gettext, libunistring and libidn2
==> Installing wget dependency: gettext
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gettext-0.19.8.1.mo
######################################################################## 100.0%
==> Pouring gettext-0.19.8.1.mojave.bottle.tar.gz
==> Caveats
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.8.1: 1,935 files, 16.9MB
==> Installing wget dependency: libunistring
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libunistring-0.9.10
######################################################################## 100.0%
==> Pouring libunistring-0.9.10.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libunistring/0.9.10: 54 files, 4.4MB
==> Installing wget dependency: libidn2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libidn2-2.0.5.mojav
######################################################################## 100.0%
==> Pouring libidn2-2.0.5.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libidn2/2.0.5: 68 files, 669KB
==> Installing wget
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/wget-1.19.5.mojave.
######################################################################## 100.0%
==> Pouring wget-1.19.5.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/wget/1.19.5: 50 files, 3.7MB
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gmp-6.1.2_2.mojave.
######################################################################## 100.0%
==> Pouring gmp-6.1.2_2.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/gmp/6.1.2_2: 18 files, 3.1MB
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/doxygen-1.8.14.moja
######################################################################## 100.0%
==> Pouring doxygen-1.8.14.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/doxygen/1.8.14: 9 files, 12.9MB
==> Installing dependencies for graphviz: libpng, fontconfig, libtiff, webp and gd
==> Installing graphviz dependency: libpng
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libpng-1.6.35.mojav
######################################################################## 100.0%
==> Pouring libpng-1.6.35.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.35: 26 files, 1.2MB
==> Installing graphviz dependency: fontconfig
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/fontconfig-2.13.1.m
######################################################################## 100.0%
==> Pouring fontconfig-2.13.1.mojave.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /usr/local/Cellar/fontconfig/2.13.1/bin/fc-cache -frv
🍺  /usr/local/Cellar/fontconfig/2.13.1: 531 files, 3.3MB
==> Installing graphviz dependency: libtiff
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtiff-4.0.9_4.moj
######################################################################## 100.0%
==> Pouring libtiff-4.0.9_4.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libtiff/4.0.9_4: 246 files, 3.5MB
==> Installing graphviz dependency: webp
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/webp-1.0.0.mojave.b
######################################################################## 100.0%
==> Pouring webp-1.0.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/webp/1.0.0: 38 files, 2.1MB
==> Installing graphviz dependency: gd
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gd-2.2.5.mojave.bot
######################################################################## 100.0%
==> Pouring gd-2.2.5.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/gd/2.2.5: 35 files, 1.1MB
==> Installing graphviz
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/graphviz-2.40.1.moj
######################################################################## 100.0%
==> Pouring graphviz-2.40.1.mojave.bottle.1.tar.gz
🍺  /usr/local/Cellar/graphviz/2.40.1: 500 files, 11.2MB
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/lcov-1.13.mojave.bo
######################################################################## 100.0%
==> Pouring lcov-1.13.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/lcov/1.13: 17 files, 543.2KB
==> Caveats
==> cmake
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> llvm@4
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm@4/lib -Wl,-rpath,/usr/local/opt/llvm@4/lib"

llvm@4 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have llvm@4 first in your PATH run:
  echo 'export PATH="/usr/local/opt/llvm@4/bin:$PATH"' >> ~/.zshrc

For compilers to find llvm@4 you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm@4/lib"
  export CPPFLAGS="-I/usr/local/opt/llvm@4/include"

==> gettext
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

Error: No such keg: /usr/local/Cellar/dep
Linking /usr/local/Cellar/llvm@4/4.0.1... 2720 symlinks created

If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/llvm@4/bin:$PATH"' >> ~/.zshrc
Warning: Already linked: /usr/local/Cellar/wget/1.19.5
To relink: brew unlink wget && brew link wget
Warning: Already linked: /usr/local/Cellar/cmake/3.12.3
To relink: brew unlink cmake && brew link cmake
Warning: Already linked: /usr/local/Cellar/gmp/6.1.2_2
To relink: brew unlink gmp && brew link gmp
Linking /usr/local/Cellar/gettext/0.19.8.1... 197 symlinks created

If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc
Warning: Already linked: /usr/local/Cellar/doxygen/1.8.14
To relink: brew unlink doxygen && brew link doxygen
Warning: Already linked: /usr/local/Cellar/graphviz/2.40.1
To relink: brew unlink graphviz && brew link graphviz
Warning: Already linked: /usr/local/Cellar/lcov/1.13
To relink: brew unlink lcov && brew link lcov
    Homebrew exited with the above errors.
    Exiting now.

➜  eos git:(master)
共收到 2 条回复

通过提示,重新brew安装相关,已经编译eos成功

哥们,你连的是什么测试网络,我找了几个都不行,谢谢了

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册