-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Could not find a package configuration file provided by "LLVM" #43
Comments
With brew, make sure you have llvm 4 installed
And let cmake know where to find cmake files for llvm:
Similar path to |
Perfectly solved. Thanks |
It doesn't work for me. This issue is driving me crazy, because I can't "force" to find the path instead it is correct. |
I just did one recently. Here is the command I've used and got it up and running:
|
use eosio_build.sh in my macos also has llvm cmake issue, my macso version is :
fix this issue , use this export: export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake |
I have tried export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake and I still get this error |
@reymondtu @tricaricom Can you please run the eosio_build.sh script and paste the entire output of the script here? I can help you out then. Thanks. |
THIS IS THE CMakeOutput.log:The system is: Darwin - 17.5.0 - x86_64 The output was: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is AppleClang, found in "/Users/bill/Documents/Projects/eos/build/CMakeFiles/3.11.1/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. The output was: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is AppleClang, found in "/Users/bill/Documents/Projects/eos/build/CMakeFiles/3.11.1/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_90eb7/fast" Detecting C compiler ABI info compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_55046/fast" Parsed C implicit link information from above output: Detecting C [-std=c11] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_99014/fast"
Detecting C [-std=c99] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_7122a/fast"
Detecting C [-std=c90] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_77037/fast"
Determining if the CXX compiler works passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_c90ed/fast" Detecting CXX compiler ABI info compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_aa8f3/fast" Parsed CXX implicit link information from above output: Detecting CXX [-std=c++1z] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_1324c/fast"
Detecting CXX [-std=c++14] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_2e9f9/fast"
Detecting CXX [-std=c++11] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_c2556/fast"
Detecting CXX [-std=c++98] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_8e50d/fast"
Determining if the include file pthread.h exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_c8da9/fast" Determining if the pthread_create exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_8e5ba/fast" File /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the BZ2_bzCompressInit exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_da9c0/fast" File /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) |
THIS IS THE CONSOLE OUTPUT:MacBookPro:eos bill$ sudo ./eosio_build.sh
-- Using custom FindBoost.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred!
|
@tricaricom this looks like a path/symlink issue. Can you run the following commands and paste the result here? |
yeah...probably. I deleted the /usr/local/wasm folder and re-ran the build script. Now it seems to be building EOSIO. My guess is that when I first attempted this, I ran brew install llvm and it pulled down version 6.x and that got linked. Then I ran brew install llvm@4 but it never linked. |
@tricaricom that would do it. So you should be good to go. Let us know if you run into any more issues. |
OK...it tried to build for like 45 mins then ended up in the same place. which clang: which llvm-config: What now? |
/usr/bin/clang = apples clang and won't work for EOS.IO If you still have issues run the following 4 commands again and send me the output along with the full output of the eosio_build.sh script. which clang |
Will this break my XCode clang? |
@tricaricom No, home-brew will install to /usr/local/Cellar then symlink into the /usr/local directories. |
Undefined symbols for architecture x86_64:
|
@tricaricom looks like your getting closer. It also looks like your brew installation of gettext is not properly symlinked (maybe from a previous install). result should be this: If your output is not the same as above run this: Then update your repo: |
The output was not the same (it was less): MacBookPro:eos bill$ sudo find /usr -name libintl* -print 2>/dev/null If you need to have this software first in your PATH instead consider running: So I ran: MacBookPro:eos bill$ git pull --recursive |
i ran: git pull --recurse-submodules and it gives me a lot "permission denied" errors. sudo ./eosio_build.sh Now it is building... |
Ok it built successfully! Thanks for your help @pacificcode |
@tricaricom We don't recommend compiling EOS.IO as root. Do keep us informed if you run into any further issues. |
Thank you so much for this! Helped me and worked amazingly :) |
In Mac
then export llvm path in .bash_profile
It works for me. |
Thank you @deju |
If anyone is interested, this is what I ran to install EOS mainnet on macOS |
@bernadinm 's Answer is the One that Helped me Once I Installed llvm 4: |
extended_symbol and extended_asset no longer inherit
# This is the 1st commit message: various improvements # This is the commit message #2: new hash # This is the commit message #3: fix for script path # This is the commit message #4: fixes # This is the commit message #5: fixes # This is the commit message #6: fixes # This is the commit message #7: fixes # This is the commit message #8: fixes # This is the commit message #9: fixes # This is the commit message #10: fixes # This is the commit message #11: fixes # This is the commit message #12: fixes # This is the commit message #13: fixes # This is the commit message #14: fixes # This is the commit message #15: fixes # This is the commit message #16: fixes # This is the commit message #17: fixes # This is the commit message #18: fixes # This is the commit message #19: fixes # This is the commit message #20: fixes # This is the commit message #21: fixes # This is the commit message #22: fixes # This is the commit message #23: fixes # This is the commit message #24: fixes # This is the commit message #25: fixes # This is the commit message #26: testing # This is the commit message #27: testing # This is the commit message #28: testing # This is the commit message #29: testing # This is the commit message #30: testing # This is the commit message #31: testing # This is the commit message #32: testing # This is the commit message #33: testing # This is the commit message #34: testing # This is the commit message #35: testing # This is the commit message #36: testing # This is the commit message #37: testing # This is the commit message #38: testing # This is the commit message #39: testing # This is the commit message #40: testing # This is the commit message #41: testing # This is the commit message #42: testing # This is the commit message #43: testing # This is the commit message #44: fixes # This is the commit message #45: fixes # This is the commit message #46: fixes # This is the commit message #47: fixes # This is the commit message #48: fixes # This is the commit message #49: fixes # This is the commit message #50: fixes # This is the commit message #51: fixes # This is the commit message #52: fixes # This is the commit message #53: fixes # This is the commit message #54: fixes # This is the commit message #55: fixes # This is the commit message #56: fixes # This is the commit message #57: fixes # This is the commit message #58: fixes # This is the commit message #59: fixes # This is the commit message #60: fixes # This is the commit message #61: fixes # This is the commit message #62: fixes # This is the commit message #63: fixes # This is the commit message #64: fixes # This is the commit message #65: fixes # This is the commit message #66: fixes # This is the commit message #67: fixes # This is the commit message #68: fixes # This is the commit message #69: fixes # This is the commit message #70: fixes # This is the commit message #71: fixes # This is the commit message #72: fixes # This is the commit message #73: fixes # This is the commit message #74: fixes # This is the commit message #75: fixes # This is the commit message #76: fixes # This is the commit message #77: fixes # This is the commit message #78: fixes # This is the commit message #79: more testing # This is the commit message #80: testing # This is the commit message #81: fixes # This is the commit message #82: fixes # This is the commit message #83: fixes # This is the commit message #84: fixes # This is the commit message #85: fixes # This is the commit message #86: fixes # This is the commit message #87: fixes # This is the commit message #88: fixes # This is the commit message #89: fixes # This is the commit message #90: fixes # This is the commit message #91: fixes # This is the commit message #92: fixes # This is the commit message #93: propagate-environment for buildkite-agent # This is the commit message #94: propagate-environment for buildkite-agent # This is the commit message #95: propagate-environment for buildkite-agent # This is the commit message #96: propagate-environment for buildkite-agent # This is the commit message #97: fixes # This is the commit message #98: fixes # This is the commit message #99: fixes # This is the commit message #100: fixes # This is the commit message #101: fixes # This is the commit message #102: fixes # This is the commit message #103: fixes # This is the commit message #104: fixes # This is the commit message #105: fixes # This is the commit message #106: fixes # This is the commit message #107: fixes # This is the commit message #108: fixes # This is the commit message #109: fixes # This is the commit message #110: fixes # This is the commit message #111: fixes # This is the commit message #112: fixes # This is the commit message #113: fixes # This is the commit message #114: fixes # This is the commit message #115: fixes # This is the commit message #116: fixes # This is the commit message #117: fixes # This is the commit message #118: fixes # This is the commit message #119: fixes # This is the commit message #120: fixes # This is the commit message #121: fixes # This is the commit message #122: fixes # This is the commit message #123: fixes # This is the commit message #124: fixes # This is the commit message #125: fixes # This is the commit message #126: fixes # This is the commit message #127: fixes # This is the commit message #128: fixes # This is the commit message #129: fixes # This is the commit message #130: fixes # This is the commit message #131: fixes # This is the commit message #132: fixes # This is the commit message #133: fixes # This is the commit message #134: fixes # This is the commit message #135: fixes # This is the commit message #136: fixes # This is the commit message #137: fixes # This is the commit message #138: fixes # This is the commit message #139: fixes # This is the commit message #140: fixes # This is the commit message #141: fixes # This is the commit message #142: fixes # This is the commit message #143: fixes # This is the commit message #144: fixes # This is the commit message #145: fixes # This is the commit message #146: fixes # This is the commit message #147: fixes # This is the commit message #148: fixes # This is the commit message #149: fixes # This is the commit message #150: fixes # This is the commit message #151: fixes # This is the commit message #152: fixes # This is the commit message #153: testing # This is the commit message #154: fixes # This is the commit message #155: fixes # This is the commit message #156: fixes # This is the commit message #157: fixes # This is the commit message #158: fixes # This is the commit message #159: fixes # This is the commit message #160: fixes # This is the commit message #161: fixes # This is the commit message #162: fixes # This is the commit message #163: fixes # This is the commit message #164: fixes # This is the commit message #165: fixes # This is the commit message #166: fixes # This is the commit message #167: fixes # This is the commit message #168: fixes # This is the commit message #169: fixes # This is the commit message #170: fixes # This is the commit message #171: fixes # This is the commit message #172: fixes # This is the commit message #173: fixes # This is the commit message #174: fixes # This is the commit message #175: fixes # This is the commit message #176: fixes # This is the commit message #177: fixes # This is the commit message #178: fixes # This is the commit message #179: fixes # This is the commit message #180: fixes # This is the commit message #181: fixes # This is the commit message #182: fixes # This is the commit message #183: fixes # This is the commit message #184: fixes # This is the commit message #185: fixes # This is the commit message #186: fixes
Got this error trying to build in OSX
The text was updated successfully, but these errors were encountered: