-
Notifications
You must be signed in to change notification settings - Fork 3.8k
mac os 10.13.5, exec ./eosio_build.sh failed #4309
Comments
brew remove --force boostbrew
|
@cppfuns it didn‘t work,The error message is still the same,can you help me? Thank you
|
@xuruilai Can you run the following command and paste the FULL output from each command here? echo $PATH |
|
@xuruilai run the following commands and you should be good. brew remove --force llvm |
@pacificcode Thank you, but it didn‘t work,I confirm I have run your commands ,the error message is still the same!! |
@xuruilai Try below: brew cleanup
brew install --with-clang --with-lld --with-python llvm@4
export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake/llvm; ./eosio_build.sh
cd build
sudo make install |
@channprj Sorry, but it didn‘t work. |
/tmp/wasm-compiler/llvm/build/CMakeFiles/CMakeError.log
|
I have the same issue. Have you resolved it? |
@lazaridiscom Hi there. I did what you said. I removed everything, re-cloned the whole project using the following steps: but I still got the same errors. The main errors are So where are the header files? Any tips? I guess there are something not correctly configured on my mac. Please help. Thanks. |
Still no luck, which is frustrating. Below is the total output. $ ./eosio_build.sh
Unknown option: 1
/Applications/XAMPP/xamppfiles/htdocs/github/pickle/blockchain/eos/scripts/eosio_build_darwin.sh: line 13: 1073741824 / blksize : division by 0 (error token is " ")
/Applications/XAMPP/xamppfiles/htdocs/github/pickle/blockchain/eos/scripts/eosio_build_darwin.sh: line 40: [: : integer expression expected
Cloning into 'llvm'... The cmake-policies(7) manual explains that the OLD behaviors of all -- The C compiler identification is AppleClang 9.0.0.9000039 CMAKE_REQUIRED_LIBRARIES is set to:
For compatibility with CMake 3.11 and below this check is ignoring it. -- Looking for dirent.h - found
CMake Error at tools/clang/CMakeLists.txt:328 (message): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -- Configuring incomplete, errors occurred! |
@lazaridiscom Hi. I really appreciate your help. It still does not work, but I noticed that my os is 10.12, and I will upgrade it to 10.13 and try again. |
Still not working so far. cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=.. -DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly -DCMAKE_BUILD_TYPE=Release ../ breaking the build. This is building the WebAssembly, right? What are the dependencies of building WebAssembly here, so that I can double check one by one? Thanks. |
Ok, finally I resolved it. It is because the "head -line" command, which was required by EOSIO scripts, can not be used after installing the XAMPP. The solution is on this link. After fixing this error, my EOSIO can be successfully built, even though taking a long time. |
macOS: 10.13.5
$ git clone https://github.com/EOSIO/eos --recursive
$ cd eos
$ ./eosio_build.sh
Output:
The text was updated successfully, but these errors were encountered: