EOS Build, Ubuntu 16.04 - CMake Error #915
Comments
I have same errors, have you solved the problem |
I don't think you need Mongo. I was able to successfully build it from source (not using the ./build.sh ubuntu command) |
The error is not about Mongo, but about missing dependencies in the 'libraries' folder. This is because you don't have the submodules (forgot '--recursive' when doing 'git clone' ?) Checkout the submodules using:
This will pull in the additional git submodules. Then you can run ./build.sh |
Just use following steps: wget https://github.com/mongodb/mongo-c-driver/releases/download/1.8.0/mongo-c-driver-1.8.0.tar.gz git clone https://github.com/mongodb/mongo-cxx-driver.git --branch releases/stable --depth 1 sudo apt-get install mongodb |
@gaolitao there is one line missing at the beginning. The Instruction is inside source code. https://github.com/EOSIO/eos/blob/master/plugins/db_plugin/CMakeLists.txt#L36 |
@gaolitao I'm getting this error when running cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. CMake Error at src/bsoncxx/CMakeLists.txt:81 (find_package): The following configuration files were considered but not accepted:
-- Configuring incomplete, errors occurred! Do you have any suggestions? |
@Babaloncryptolog |
@icodezjb Is the mongo-c-driver-1.9.3 driver too new? |
@remcoros Solved. thx. 👍 |
Commented out every exit statement related to mongo in |
old build issue. |
@heifner Having this issue now, fresh clone from master, on a fresh Ubuntu aws image. What do you mean old build issue? |
I have this error at this time.. |
Hi, I have got these errors. ../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.rodata+0x80): undefined reference to
|
@gaolitao I encountered the same issue, according the part one of your idea, I solved it. Thanks a lot! |
LOG FILE
CMakeOutput_101117.log
I am trying to build EOS from an Ubuntu machine - the following error keeps happening:
CMake Error at libraries/CMakeLists.txt:2 (add_subdirectory):
The source directory
does not contain a CMakeLists.txt file.
CMake Error at libraries/CMakeLists.txt:9 (add_subdirectory):
The source directory
does not contain a CMakeLists.txt file.
-- Git commit revision: 6ec8cff
-- Git commit revision: 6ec8cff
-- Git commit revision: 6ec8cff
CMake Warning at plugins/db_plugin/CMakeLists.txt:6 (find_package):
By not providing "Findlibmongoc-1.0.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"libmongoc-1.0", but CMake did not find one.
Could not find a package configuration file provided by "libmongoc-1.0"
(requested version 1.8) with any of the following names:
Add the installation prefix of "libmongoc-1.0" to CMAKE_PREFIX_PATH or set
"libmongoc-1.0_DIR" to a directory containing one of the above files. If
"libmongoc-1.0" provides a separate development package or SDK, be sure it
has been installed.
Could NOT find MongoDB. db_plugin with MongoDB support will not be included.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Doxygen not found. Contract documentation will not be generated.
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: