EOS Installation Discussion

You could probably use the testnet instead. If you want to try, check out the lecture about test/main net.

Hi
While installing eos on Ubuntu Iā€™m getting following error like ags_83 and kryptoholik:

-- Auto-configuring bsoncxx to use MNMLSTC for polyfills since C++17 is inactive
CMake Error at src/bsoncxx/CMakeLists.txt:86 (find_package):
  Could not find a configuration file for package "libbson-static-1.0" that
  is compatible with requested version "1.10.0".

  The following configuration files were considered but not accepted:

    /usr/local/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake, version: 1.9.3



-- Configuring incomplete, errors occurred!
See also "/tmp/mongo-cxx-driver/build/CMakeFiles/CMakeOutput.log".
	Cmake has encountered the above errors building the MongoDB C++ driver.

	Exiting now.

But as Filip suggested Iā€™ve ā€˜thenā€™ on line 339, which seems odd to replace. But line 314 more like to be replaced.

Hey,

Worked like a charm. Managed to compile and start a working eos node based on filips instructions with the following adjustments:

  1. git checkout -f tags/dawn-v4.2.0
  2. Edit eosio_build_ubuntu.sh file and replace the existing git clone command of the mongo driver with the following: ā€œgit clone https://github.com/mongodb/mongo-cxx-driver.git --branch releases/v3.2 --depth 1ā€ (itā€™s somewhere around line 320)
  3. to correct the build error ā€œpath mongo-cxx-driver already existsā€, I used the solution described in the following thread: https://github.com/EOSIO/eos/issues/3197

BTW: I am using Windows 10 with VMVirtualBox containg Ubuntu 18.04 LTS.

1 Like

Hi Filip,

I have the same error on Mac OS installation.
Unable to clone MongoDB C++ driver at this time

What should I do?

Thanks

Windows 10 Running. No virtual box installed. Running Linux as subsystem is much better.

2 Likes

Did you try the fix I posted above?

Everything was going fine till I tried this commandā€¦ and got this response:

ark@The-Band:~/eos/build/programs$ cd nodeos
mark@The-Band:~/eos/build/programs/nodeos$ nodeos --extraction-genesis-json markgen.json
No command ā€˜nodeosā€™ found, did you mean:
Command ā€˜nodejsā€™ from package ā€˜nodejsā€™ (universe)
Command ā€˜nodefsā€™ from package ā€˜nowebā€™ (universe)
nodeos: command not found
mark@The-Band:~/eos/build/programs/nodeos$ dir
CMakeFiles config.hpp Makefile
cmake_install.cmake CTestTestfile.cmake nodeos
mark@The-Band:~/eos/build/programs/nodeos$ nodeos --help
No command ā€˜nodeosā€™ found, did you mean:
Command ā€˜nodefsā€™ from package ā€˜nowebā€™ (universe)
Command ā€˜nodejsā€™ from package ā€˜nodejsā€™ (universe)
nodeos: command not found
mark@The-Band:~/eos/build/programs/nodeos$

Did you run the sudo make install command in the build folder?

CMake Error at CMakeLists.txt:77 (find_package):

By not providing "FindSecp256k1.cmake" in CMAKE_MODULE_PATH this project

has asked CMake to find a package configuration file provided by

"Secp256k1", but CMake did not find one.

Could not find a package configuration file provided by "Secp256k1" with

any of the following names:

Secp256k1Config.cmake

secp256k1-config.cmake

Add the installation prefix of "Secp256k1" to CMAKE_PREFIX_PATH or set

"Secp256k1_DIR" to a directory containing one of the above files. If

"Secp256k1" provides a separate development package or SDK, be sure it has

been installed.

-- Configuring incomplete, errors occurred!

See also "/users/kylekiss/Desktop/EOS/eos/build/CMakeFiles/CMakeOutput.log".

CMAKE building EOSIO has exited with the above error.

I keep running into this issue and Iā€™d like some guidance please! Thank you!

1 Like

Honestly not sure how I got it to work but I have successfully installed EOS now.

1 Like

you should insert: cd eos between the first two linesā€¦

1 Like

Hi Filip,

I have finally found a way to install everything. (no fun!) Ready to start producingā€¦ and then this:
-bash nodeos not found

Iā€™m kinda stuckā€¦

Update:
I have found the solution, had to add the binary path to my terminalā€¦

1 Like

Iā€™m happy you found the solution. Good luck with EOS!

Hi,
Iā€™m having this error: nodeos --extract-genesis-json ddgen.json
-bash: nodeos: command not found

I got that error what to do ?

Did you guys run sudo make install in the build folder? @damianjnc @dufdavid

Yes Filip. I did it.

Hi Filip, yes, i did

Can you check if you find the nodeos binary in any of these directories? If so, you need to att that to your PATH env var.
/usr/local/eosio/bin
usr/local/share/eosio/nodeos

But check first to see if they are there and then I can help you from there.

thatā€™s what Iā€™ve got: