ERROR building on macOS 10.13.4
git clone https://github.com/EOSIO/eos --recursive
cd eos
./eosio_build.sh
Beginning build version: 1.2
2018年 4月 9日 星期一 02时38分51秒 UTC
git head id: 124c62d0e1b3974bcd551b885518ff05301b39c9
Current branch: * master
ARCHITECTURE: Darwin
OS name: Darwin
OS Version: 10.13.4
CPU speed: 270.00Ghz
CPU cores: 2
Physical Memory: 8 Gbytes
Disk space total: 112G
Disk space available: 88G
Checking XCode installation
XCode installation found.
Checking Ruby installation
Ruby installation found.
Checking Home Brew installation
Home Brew installation found.
Checking dependencies.
Checking automake ... automake found
Checking Libtool ... Libtool found
Checking OpenSSL ... OpenSSL found
Checking llvm ... llvm found
Checking wget ... wget found
Checking CMake ... CMake NOT found.
Checking Boost ... Boost found
Checking GMP ... GMP found
Checking gettext ... gettext found
Checking MongoDB ... MongoDB found
Checking Doxygen ... Doxygen found
Checking Graphviz ... Graphviz found
Checking Python3 ... Python3 found
The following dependencies are required to install EOSIO.
1. CMake
Do you wish to install these packages?
1) Yes
2) No
#? 1
Updating Home Brew.
Already up-to-date.
Installing Dependencies.
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.11.0.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-3.11.0.high_sierra.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺 /usr/local/Cellar/cmake/3.11.0: 2,363 files, 32.9MB
Unlinking /usr/local/Cellar/cmake/3.11.0... 452 symlinks removed
Linking /usr/local/Cellar/cmake/3.11.0... 452 symlinks created
Checking MongoDB C++ driver installation.
Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.
Checking secp256k1-zkp installation.
secp256k1 found at /usr/local/lib/
Checking LLVM with WASM support.
WASM found at /usr/local/wasm/bin/
>>>>>>>> ALL dependencies sucessfully found or installed . Installing EOS.IO
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- locale
-- iostreams
-- Configuring Eos on OS X
-- binaryen building with -std=c++11
-- binaryen building for platform x86-64
-- binaryen building with -Wall
-- binaryen building with -Werror
-- binaryen building with -Wextra
-- binaryen building with -Wno-unused-parameter
-- binaryen building with -fno-omit-frame-pointer
-- binaryen building with -fPIC
-- binaryen building with -O2
-- binaryen building with -UNDEBUG
-- Using WASM clang => /usr/local/wasm/bin/clang
-- Using WASM llc => /usr/local/wasm/bin/llc
-- Using WASM llvm-link => /usr/local/wasm/bin/llvm-link
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- Configuring fc to build on Unix/Apple
-- zlib found
-- bzip2 found
-- Configuring SoftFloat
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- chrono
-- unit_test_framework
-- locale
-- Configuring ChainBase on OS X
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- chrono
-- program_options
-- unit_test_framework
-- locale
-- Configuring AppBase on OS X
-- Found bsoncxx headers: /usr/local/include/bsoncxx/v_noabi
-- Found bsoncxx library: /usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE
-- Found mongocxx headers: /usr/local/include/mongocxx/v_noabi;/usr/local/include/bsoncxx/v_noabi
-- Found mongocxx library: /usr/local/lib/libmongocxx-static.a;/usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;/usr/local/lib/libmongoc-static-1.0.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;-lsasl2;-framework Security;-framework CoreFoundation;-lz;-lresolv
-- Git commit revision: 124c62d0
-- Git commit revision: 124c62d0
CMake Error at /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Failed to find Gettext libintl (missing: Intl_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindIntl.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
programs/cleos/CMakeLists.txt:29 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/liu/eosio/eos/build/CMakeFiles/CMakeOutput.log".
>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.
It a problem with brew gettext package. See https://github.com/EOSIO/eos/issues/2174.
the same issue, but I have installed gettex according to the output of the command brew list | grep gettext.
brew unlink gettext && brew link --force gettext, it works for me. #2028
I had the same issue. But https://github.com/EOSIO/eos/issues/2240#issuecomment-396309884 seems to have fixed it.
Most helpful comment
brew unlink gettext && brew link --force gettext, it works for me. #2028