EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

can't get the local testnet to work on macOS High Sierra #1241

Closed dyyce closed 6 years ago

dyyce commented 6 years ago

Hey!

I just wanted to give it a try and test the current build. I followed the steps mentioned here: https://github.com/EOSIO/eos#macos-sierra-for-a-local-testnet

I updated brew and xcode(which was up-to-date already), but after the build, I am getting the following message: -- Configuring incomplete, errors occurred! See also "/Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop.

Here is the log:

The system is: Darwin - 17.4.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/local/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 Clang, found in "/Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/3.10.2/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/local/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 Clang, found in "/Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/3.10.2/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_176e8/fast"
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_176e8.dir/build.make CMakeFiles/cmTC_176e8.dir/build
Building C object CMakeFiles/cmTC_176e8.dir/testCCompiler.c.o
/usr/local/bin/clang    -o CMakeFiles/cmTC_176e8.dir/testCCompiler.c.o   -c /Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_176e8
/usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_176e8.dir/link.txt --verbose=1
/usr/local/bin/clang   -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_176e8.dir/testCCompiler.c.o  -o cmTC_176e8 

Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_131c0/fast"
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_131c0.dir/build.make CMakeFiles/cmTC_131c0.dir/build
Building C object CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o
/usr/local/bin/clang    -o CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o   -c /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_131c0
/usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_131c0.dir/link.txt --verbose=1
/usr/local/bin/clang   -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o  -o cmTC_131c0 
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /usr/local/bin
 "/usr/bin/ld" -demangle -lto_library /usr/local/Cellar/llvm@4/4.0.1/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_131c0 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o -lSystem /usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld  PROJECT:ld64-305
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/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_131c0/fast"]
  ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_131c0.dir/build.make CMakeFiles/cmTC_131c0.dir/build]
  ignore line: [Building C object CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/local/bin/clang    -o CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o   -c /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTC_131c0]
  ignore line: [/usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_131c0.dir/link.txt --verbose=1]
  ignore line: [/usr/local/bin/clang   -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o  -o cmTC_131c0 ]
  ignore line: [clang version 4.0.1 (tags/RELEASE_401/final)]
  ignore line: [Target: x86_64-apple-darwin17.4.0]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /usr/local/bin]
  link line: [ "/usr/bin/ld" -demangle -lto_library /usr/local/Cellar/llvm@4/4.0.1/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_131c0 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o -lSystem /usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/lib/darwin/libclang_rt.osx.a]
    arg [/usr/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-lto_library] ==> ignore, skip following value
    arg [/usr/local/Cellar/llvm@4/4.0.1/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_131c0] ==> ignore
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-v] ==> ignore
    arg [CMakeFiles/cmTC_131c0.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lSystem] ==> lib [System]
    arg [/usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/lib/darwin/libclang_rt.osx.a] ==> lib [/usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/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 [/usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/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]

Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_4d694/fast"
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_4d694.dir/build.make CMakeFiles/cmTC_4d694.dir/build
Building CXX object CMakeFiles/cmTC_4d694.dir/testCXXCompiler.cxx.o
/usr/local/bin/clang++     -o CMakeFiles/cmTC_4d694.dir/testCXXCompiler.cxx.o -c /Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_4d694
/usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4d694.dir/link.txt --verbose=1
/usr/local/bin/clang++    -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_4d694.dir/testCXXCompiler.cxx.o  -o cmTC_4d694 

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e9195/fast"
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_e9195.dir/build.make CMakeFiles/cmTC_e9195.dir/build
Building CXX object CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o
/usr/local/bin/clang++     -o CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_e9195
/usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e9195.dir/link.txt --verbose=1
/usr/local/bin/clang++    -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_e9195 
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /usr/local/bin
 "/usr/bin/ld" -demangle -lto_library /usr/local/Cellar/llvm@4/4.0.1/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_e9195 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld  PROJECT:ld64-305
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/fizzle/Desktop/dev/projects/eos/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_e9195/fast"]
  ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_e9195.dir/build.make CMakeFiles/cmTC_e9195.dir/build]
  ignore line: [Building CXX object CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/local/bin/clang++     -o CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Linking CXX executable cmTC_e9195]
  ignore line: [/usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e9195.dir/link.txt --verbose=1]
  ignore line: [/usr/local/bin/clang++    -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_e9195 ]
  ignore line: [clang version 4.0.1 (tags/RELEASE_401/final)]
  ignore line: [Target: x86_64-apple-darwin17.4.0]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /usr/local/bin]
  link line: [ "/usr/bin/ld" -demangle -lto_library /usr/local/Cellar/llvm@4/4.0.1/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_e9195 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/lib/darwin/libclang_rt.osx.a]
    arg [/usr/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-lto_library] ==> ignore, skip following value
    arg [/usr/local/Cellar/llvm@4/4.0.1/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_e9195] ==> ignore
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-v] ==> ignore
    arg [CMakeFiles/cmTC_e9195.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lc++] ==> lib [c++]
    arg [-lSystem] ==> lib [System]
    arg [/usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/lib/darwin/libclang_rt.osx.a] ==> lib [/usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/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 [/usr/local/Cellar/llvm@4/4.0.1/bin/../lib/clang/4.0.1/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]

any idea how I could get this to run?

dyyce commented 6 years ago

never mind, seems like I was missing some of the libraries ... it is working now 👍