This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Could not find a package configuration file provided by "LLVM" #43
Closed
Description
Got this error trying to build in OSX
$ cmake .
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- locale
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- coroutine
-- Configuring Eos on OS X
-- Setting up SECP256K1 root and include vars to /usr/local, /usr/local/include
-- Configuring fc to build on Unix/Apple
-- Setting up OpenSSL root and include vars to /usr/local/opt/openssl/, /usr/local/opt/openssl//include
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- zlib found
-- bzip2 found
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- chrono
-- unit_test_framework
-- locale
-- Configuring ChainBase on OS X
CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 4.0) with any of the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
Activity
rozgo commentedon Jun 25, 2017
With brew, make sure you have llvm 4 installed
And let cmake know where to find cmake files for llvm:
Similar path to
llvm/4.0/lib/cmake
should exist for macports or installation from source.agustinkassis commentedon Jun 26, 2017
Perfectly solved. Thanks
sirkbitt commentedon Mar 6, 2018
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.
Please help me, thanks.
bernadinm commentedon Apr 14, 2018
I just did one recently. Here is the command I've used and got it up and running:
LucasMLK commentedon Apr 22, 2018
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
tricaricom commentedon Apr 26, 2018
I have tried export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake and I still get this error
pacificcode commentedon Apr 26, 2018
@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.
tricaricom commentedon Apr 26, 2018
THIS IS THE CMakeOutput.log:
The system is: Darwin - 17.5.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/clang
Build flags:
Id flags:
The output was:
0
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.
Compiler: /usr/bin/clang++
Build flags:
Id flags:
The output was:
0
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:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_90eb7/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_90eb7.dir/build.make CMakeFiles/cmTC_90eb7.dir/build
Building C object CMakeFiles/cmTC_90eb7.dir/testCCompiler.c.o
/usr/bin/clang -o CMakeFiles/cmTC_90eb7.dir/testCCompiler.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_90eb7
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90eb7.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_90eb7.dir/testCCompiler.c.o -o cmTC_90eb7
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_55046/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_55046.dir/build.make CMakeFiles/cmTC_55046.dir/build
Building C object CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o
/usr/bin/clang -o CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_55046
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55046.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -o cmTC_55046
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_55046 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-351.8
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed C implicit link information from above output:
link line regex: [^( |.[/])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_55046/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_55046.dir/build.make CMakeFiles/cmTC_55046.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/clang -o CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_55046]
ignore line: [/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55046.dir/link.txt --verbose=1]
ignore line: [/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -o cmTC_55046 ]
ignore line: [Apple LLVM version 9.1.0 (clang-902.0.39.1)]
ignore line: [Target: x86_64-apple-darwin17.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_55046 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.13.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_55046] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: []
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_99014/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_99014.dir/build.make CMakeFiles/cmTC_99014.dir/build
Building C object CMakeFiles/cmTC_99014.dir/feature_tests.c.o
/usr/bin/clang -std=c11 -o CMakeFiles/cmTC_99014.dir/feature_tests.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_99014
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99014.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_99014.dir/feature_tests.c.o -o cmTC_99014
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_7122a/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7122a.dir/build.make CMakeFiles/cmTC_7122a.dir/build
Building C object CMakeFiles/cmTC_7122a.dir/feature_tests.c.o
/usr/bin/clang -std=c99 -o CMakeFiles/cmTC_7122a.dir/feature_tests.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_7122a
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7122a.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_7122a.dir/feature_tests.c.o -o cmTC_7122a
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_77037/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_77037.dir/build.make CMakeFiles/cmTC_77037.dir/build
Building C object CMakeFiles/cmTC_77037.dir/feature_tests.c.o
/usr/bin/clang -std=c90 -o CMakeFiles/cmTC_77037.dir/feature_tests.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_77037
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77037.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_77037.dir/feature_tests.c.o -o cmTC_77037
Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c90ed/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c90ed.dir/build.make CMakeFiles/cmTC_c90ed.dir/build
Building CXX object CMakeFiles/cmTC_c90ed.dir/testCXXCompiler.cxx.o
/usr/bin/clang++ -o CMakeFiles/cmTC_c90ed.dir/testCXXCompiler.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_c90ed
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c90ed.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c90ed.dir/testCXXCompiler.cxx.o -o cmTC_c90ed
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_aa8f3/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_aa8f3.dir/build.make CMakeFiles/cmTC_aa8f3.dir/build
Building CXX object CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/clang++ -o CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_aa8f3
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aa8f3.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_aa8f3
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_aa8f3 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-351.8
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed CXX implicit link information from above output:
link line regex: [^( |.[/])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_aa8f3/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_aa8f3.dir/build.make CMakeFiles/cmTC_aa8f3.dir/build]
ignore line: [Building CXX object CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/clang++ -o CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_aa8f3]
ignore line: [/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aa8f3.dir/link.txt --verbose=1]
ignore line: [/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_aa8f3 ]
ignore line: [Apple LLVM version 9.1.0 (clang-902.0.39.1)]
ignore line: [Target: x86_64-apple-darwin17.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_aa8f3 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.13.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_aa8f3] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [c++]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_1324c/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_1324c.dir/build.make CMakeFiles/cmTC_1324c.dir/build
Building CXX object CMakeFiles/cmTC_1324c.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++1z -o CMakeFiles/cmTC_1324c.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_1324c
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1324c.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1324c.dir/feature_tests.cxx.o -o cmTC_1324c
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2e9f9/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_2e9f9.dir/build.make CMakeFiles/cmTC_2e9f9.dir/build
Building CXX object CMakeFiles/cmTC_2e9f9.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++14 -o CMakeFiles/cmTC_2e9f9.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_2e9f9
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2e9f9.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_2e9f9.dir/feature_tests.cxx.o -o cmTC_2e9f9
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c2556/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c2556.dir/build.make CMakeFiles/cmTC_c2556.dir/build
Building CXX object CMakeFiles/cmTC_c2556.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++11 -o CMakeFiles/cmTC_c2556.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c2556
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2556.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c2556.dir/feature_tests.cxx.o -o cmTC_c2556
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8e50d/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_8e50d.dir/build.make CMakeFiles/cmTC_8e50d.dir/build
Building CXX object CMakeFiles/cmTC_8e50d.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++98 -o CMakeFiles/cmTC_8e50d.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_8e50d
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e50d.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8e50d.dir/feature_tests.cxx.o -o cmTC_8e50d
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c8da9/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c8da9.dir/build.make CMakeFiles/cmTC_c8da9.dir/build
Building C object CMakeFiles/cmTC_c8da9.dir/CheckIncludeFile.c.o
/usr/bin/clang -o CMakeFiles/cmTC_c8da9.dir/CheckIncludeFile.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_c8da9
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c8da9.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c8da9.dir/CheckIncludeFile.c.o -o cmTC_c8da9
Determining if the pthread_create exist passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8e5ba/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_8e5ba.dir/build.make CMakeFiles/cmTC_8e5ba.dir/build
Building C object CMakeFiles/cmTC_8e5ba.dir/CheckSymbolExists.c.o
/usr/bin/clang -o CMakeFiles/cmTC_8e5ba.dir/CheckSymbolExists.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_8e5ba
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e5ba.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8e5ba.dir/CheckSymbolExists.c.o -o cmTC_8e5ba
File /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the BZ2_bzCompressInit exist passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_da9c0/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_da9c0.dir/build.make CMakeFiles/cmTC_da9c0.dir/build
Building C object CMakeFiles/cmTC_da9c0.dir/CheckSymbolExists.c.o
/usr/bin/clang -o CMakeFiles/cmTC_da9c0.dir/CheckSymbolExists.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_da9c0
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_da9c0.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_da9c0.dir/CheckSymbolExists.c.o -o cmTC_da9c0 /usr/lib/libbz2.dylib
File /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <bzlib.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef BZ2_bzCompressInit
return ((int*)(&BZ2_bzCompressInit))[argc];
#else
(void)argc;
return 0;
#endif
}
tricaricom commentedon Apr 26, 2018
THIS IS THE CONSOLE OUTPUT:
MacBookPro:eos bill$ sudo ./eosio_build.sh
-- 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
CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 4.0) with any of the following names:
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeOutput.log".
pacificcode commentedon Apr 26, 2018
@tricaricom this looks like a path/symlink issue. Can you run the following commands and paste the result here?
which clang
which llvm-config
llvm-config --has-rtti --version
find /usr -name LLVMConfig.cmake -print 2>/dev/null
35 remaining items