You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
I am using concord available at https://github.com/vmware/concord/
I managed to successfully create a testnet using simple4.yml and send transactions to it through truffle. Then I wanted to create concord nodes in separate AWS instances and send transactions to it using an EthRPC node which in my case is another AWS instance.
Now to create a concord node separately using docker run command available at https://concord.readthedocs.io/en/latest/deployment/deployment.html#concord-nodes, I needed to use the conc_genconfig.cpp tool. I installed dependencies as per the Dockerfile given in the builder fold in the repo https://github.com/vmware/concord/ including log4cplus and boost.
trying to compile the tools using cmake with the command:
cmake -DCMAKE_MODULE_PATH=/home/ubuntu/concord/cmake .
gives the error:
CMake Error at CMakeLists.txt:151 (link_with_relic_library):
Unknown CMake command "link_with_relic_library".
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using concord available at https://github.com/vmware/concord/
I managed to successfully create a testnet using simple4.yml and send transactions to it through truffle. Then I wanted to create concord nodes in separate AWS instances and send transactions to it using an EthRPC node which in my case is another AWS instance.
Now to create a concord node separately using docker run command available at https://concord.readthedocs.io/en/latest/deployment/deployment.html#concord-nodes, I needed to use the conc_genconfig.cpp tool. I installed dependencies as per the Dockerfile given in the builder fold in the repo https://github.com/vmware/concord/ including log4cplus and boost.
##Expected behaviour
Executing
g++ -Wall -g -std=c++11 -LLIBDIR -I /home/ubuntu/concord/src -I /home/ubuntu/concord-bft/threshsign/include/threshsign conc_genconfig.cpp
compiles properly.
##Acutal behaviour
There was a compilation error as follows:
Steps to reproduce
git clone https://github.com/vmware/concord/ to my home (/home/ubuntu)
Install docker using:
get -q0 -https://get.docker.com/ | sh
Install docker-compose using:
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s
-
uname -m` -o /usr/local/bin/docker-composesudo chmod +x /usr/local/bin/docker-compose
docker/build_images.sh (executed fine)
Install the required dependencies like boost and log4cplus by looking at the Dockerfile at
https://github.com/vmware/concord/blob/master/docker/dockerfiles/builder/Dockerfile
--used the -std=C++11 flag to run ./configure to create the makefile for log4cplus
git clone https://github.com/vmware/concord-bft to my home (/home/ubuntu)
set LD_LIBRARY_PATH to /usr/local/lib
Execute the command
g++ -Wall -g -std=c++11 -LLIBDIR -I /home/ubuntu/concord/src -I /home/ubuntu/concord-bft/threshsign/include/threshsign conc_genconfig.cpp
Context
I used AWS EC2 spot instances.
OS - Ubuntu 18.04.3 LTS
gcc version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
g++ version: g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
libboost version: Version: 1.65.1.0ubuntu1
Deliverables
The text was updated successfully, but these errors were encountered: