Closed micmac0 closed 5 years ago
https://github.com/CREDITSCOM/node/blob/master/README.md Readme updated, look at linux build please
that s great.
I gave it a fast try , cmake need to be at least 3.11
CMake 3.11 or higher is required. You are running version 3.10.2
I will give a new try later with updated version of cmake.
Please check the answer of Teocci over here: https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line/865294
Currently trying that myself and looks good so far.
Here is the way I prepare a very fresh ubuntu 18 vm to compile node if it may help documentation
sudo apt install gcc sudo apt install build-essential sudo apt install flex sudo apt install bison
mkdir ~/temp cd ~/temp version=3.14 build=4 wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz tar -xzvf cmake-$version.$build.tar.gz cd cmake-$version.$build/ ./bootstrap make -j3 sudo make install cmake --version
get boost tar.gz https://www.boost.org/users/history/version_1_67_0.html tar xzvf boost_1_68_0.tar.gz cd boost_1_68_0/ ./bootstrap.sh --help ./bootstrap.sh --with-libraries=all --prefix=/usr/local ./b2 sudo ./b2 install
cd sudo apt install git git clone https://github.com/CREDITSCOM/node.git cd node git submodule update --init --recursive mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make
now I have same error as described here #5
oh I just saw "install_ubuntu_environment.sh" in commit will test it by adding missing package. but still issue 5 with sodium.
@micmac0 can you try to build the node after installing autoconf
and automake
?
sudo apt-get install autoconf automake
That worked for me.
Yes thanks @tkoen93 Work for me I also added the one you mention already yesterday and now : sudo apt install libtool pkg-config libssl-dev
Describe the bug I tried to compile node from ubuntu but I didn t manage to get it work and I got the following result :
My dependencies liboost installed are 1.65 + 1.68 dpkg -l | grep libboost
g++ --version
g++ (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
Desktop (please complete the following information):