EOS Installation Part 1 (failed!!!!)

in #eos7 years ago

First let's following github instruction and see if we can install eos on first try without errors. (Too bad! errors incoming!!!)

root@heisenberg:/home/xs# cd eos
root@heisenberg:/home/xs/eos# ls
root@heisenberg:/home/xs/eos# git clone https://github.com/cryptonomex/secp256k1-zkp.git
root@heisenberg:/home/xs/eos# cd secp256k1-zkp
root@heisenberg:/home/xs/eos/secp256k1-zkp# ls
autogen.sh configure.ac include Makefile.am README.md TODO
build-aux COPYING libsecp256k1.pc.in obj src
root@heisenberg:/home/xs/eos/secp256k1-zkp# ./autogen.sh
root@heisenberg:/home/xs/eos# git clone https://github.com/eosio/eos --recursive
root@heisenberg:/home/xs/eos# apt install cmake
root@heisenberg:/home/xs/eos/eos# ls
CMakeLists.txt Docker genesis.json libraries plugins README.md
CMakeModules Doxyfile HEADER LICENSE.txt programs tests
root@heisenberg:/home/xs/eos/eos# cd programs
root@heisenberg:/home/xs/eos/eos/programs# ls
CMakeLists.txt debug_node eosd

Errors
root@heisenberg:/home/xs/eos/eos# cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc
Imgur

Error is Boost lib is too old
Let's install Boost.

Install Boost
Download: https://dl.bintray.com/boostorg/release/1.64.0/source/
Select: boost_1_64_0.tar.gz

This has good information on Boost: http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html

xs@heisenberg:~/eos$ ls
boost_1_64_0 boost_1_64_0.tar.gz eos secp256k1-zkp
xs@heisenberg:~/eos$ tar -zxvf boost_1_64_0.tar.gz
root@heisenberg:/home/xs/eos/boost_1_64_0# ./bootstrap.sh --prefix=/home/xs/eos/
Imgur

root@heisenberg:/home/xs/eos/boost_1_64_0# ./b2
Imgur

root@heisenberg:/home/xs/eos/boost_1_64_0# ./bjam install

(Meanwhile, it is eating all of my RAM, i need new computer!!!!!!! BTC to da moon 10k then i will get myself a kickass one lol)
Imgur

Wait for this Boost to install ... I am gonna take a nap while BTC hitting ATH moon baee!!!

Finally done installing Boost! Let's check EOS cmake again.

root@heisenberg:/home/xs/eos/eos# cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc

This time it generates different msg but basically still same BOOST error.

Imgur

Arghhh, but magic happened, google the issue, and i get answer from this: https://stackoverflow.com/questions/24173330/cmake-is-not-able-to-find-boost-libraries

and rerun cmake command, i get this

(meanwhile BTCUSD is new ATH on every single exchange, woohoo)

But urghh, still having error

3am my time ... give up now ... try later.